Copyright Digital Equipment Corp. All rights reserved.

Examples

     In the following example, the sample mapping pattern
     $[AX1]*@*.EXAMPLE.COM is tested for several sample target
     strings.

       $ PMDF TEST/MATCH
       Pattern: $[ax1]*@*.example.com
         [  1S] cglob [1ax]
         [  2] "@"
         [  3S] glob, req 109, reps 2
         [  4] "."
         [  5] "a"
         [  6] "c"
         [  7] "m"
         [  8] "e"
         [  9] "."
         [ 10] "c"
         [ 11] "o"
         [ 12] "m"
       Target: xx11a@sys1.example.com
       Match.
       0 - xx11a
       1 - sys1
       Pattern: $[ax1]*@*.example.com
         [  1S] cglob [1ax]
         [  2] "@"
         [  3S] glob, req 109, reps 2
         [  4] "."
         [  5] "a"
         [  6] "c"
         [  7] "m"
         [  8] "e"
         [  9] "."
         [ 10] "c"
         [ 11] "o"
         [ 12] "m"
       Target: 12a@node.example.com
       No match.
       Pattern: $[ax1]*@*.example.com
         [  1S] cglob [1ax]
         [  2] "@"
         [  3S] glob, req 109, reps 2
         [  4] "."
         [  5] "a"
         [  6] "c"
         [  7] "m"
         [  8] "e"
         [  9] "."
         [ 10] "c"
         [ 11] "o"
         [ 12] "m"
       Target: 1xa@node.example.com
       Match.
       0 - 1xa
       1 - node
       Pattern: ^Z
       $