You can use the asterisk (*) to mask the $KEY control statement as follows:
TEST***WORD will match TESTTHEWORD
TEST WORD
TEST.A.WORD
but not TESTWORD (missing characters)
TEST WORD (missing characters)
TEST.WORD (missing characters)
TEST.NOTHING (unmatched characters)
*****WORD will match TEST WORD
TEST.WORD
but not TESTWORD (missing characters)
WORD (missing characters)
TEST (unmatched characters)
TEST.NAME*** will match TEST.NAME TEST.NAME123 TEST.NAME.2 but not TEST.NAM (too short) TEST.NAMX (different character) TEST.NAME1234 (too long) TEST*** will match TEST TEST123 TEST 12 but not TEST1234 (too long)
TEST***WORD will match TEST.A.WORD but not TEST.ABC.WORD (unmatched characters) *****WORD will match TEST.WORD but not ABC.WORD (unmatched characters) *********** will match TEST.WORD
|
Copyright © 2011 CA Technologies.
All rights reserved.
|
|