Use the following format for survey questions pattern validators.
Genericbaseofcustomvalidatorsthatmatchagainstapattern
WetrytoblendideasfromGREPandjava.text.Formattoenable
thepatternmatch:
0-matchadecimaldigit
a-matchanalphabetic
n-matchanalphanumeric
x-matchanysinglecharacter
w-matchwhitespace
f-matchanylengthoffillerbeforetheNEXTpattern
.-matchEOS
\x-matchtheescapedliteralcharacter'x'
'x'-matchtheexcapedliteralcharacter'x'
X*-match0ormore
X+-match1ormore
X?-match0or1
X!-forcenon-optional,singlematch(typicallyforoutboundliterals)
X^-match1andskipit(noemit)
[......]-matchaphrase