94
Expression examples
The following table shows some regular expressions and describes what they match:
Expression
[\?&]value=
[A-Z]:(\\[A-Z0-9_]+)+
[A-Za-z][A-Za-z0-9_]*
([A-Za-z][A-Za-z0-9_]*)(\
.[A-Za-z][A-Za-z0-9_]*)?
(\+|-)?[1-9][0-9]*
(\+|-)?[1-9][0-9]*(\.[0-9
]*)?
(\+|-)?[1-9]\.[0-9]*E(\+|
-)?[0-9]+
a{2,4}
(ba){3,}
(" [A-Za-z] "){2,}
Chapter 7 Using Web Development Languages
Description
A URL parameter value in a URL
An uppercase DOS/Windows full
root of a drive, and that has only letters, numbers,
and underscores in its text
A ColdFusion variable with no qualifier
A ColdFusion variable with no more than one
qualifier, for example, Form.VarName, but not
Form.Image.VarName
An integer that does not begin with a zero and has an
optional sign
A real number
A real number in engineering notation
Two to four occurrences of "a": aa, aaa, aaaa
At least three "ba" pairs: bababa, babababa, ...
At least two occurrences of the same word
path
that is not the
Need help?
Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?