94
Chapter 7 Using Web Development Languages
Expression examples
The following table shows some regular expressions and describes what they match:
Expression
Description
[\?&]value=
A URL parameter value in a URL
[A-Z]:(\\[A-Z0-9_]+)+
An uppercase DOS/Windows full
path
that is not the
root of a drive, and that has only letters, numbers,
and underscores in its text
[A-Za-z][A-Za-z0-9_]*
A ColdFusion variable with no qualifier
([A-Za-z][A-Za-z0-9_]*)(\
.[A-Za-z][A-Za-z0-9_]*)?
A ColdFusion variable with no more than one
qualifier, for example, Form.VarName, but not
Form.Image.VarName
(\+|-)?[1-9][0-9]*
An integer that does not begin with a zero and has an
optional sign
(\+|-)?[1-9][0-9]*(\.[0-9
]*)?
A real number
(\+|-)?[1-9]\.[0-9]*E(\+|
-)?[0-9]+
A real number in engineering notation
a{2,4}
Two to four occurrences of “a”: aa, aaa, aaaa
(ba){3,}
At least three “ba” pairs: bababa, babababa, ...
(" [A-Za-z] "){2,}
At least two occurrences of the same word
Summary of Contents for ColdFusion Server 5
Page 18: ...xviii About This Book...
Page 26: ...8 Chapter 1 Setting Up the Product...
Page 42: ...24 Chapter 2 Configuring Browsers and Servers...
Page 60: ...42 Chapter 3 Exploring the Workspace...
Page 100: ...82 Chapter 6 Editing Pages...
Page 126: ...108 Chapter 7 Using Web Development Languages...
Page 212: ...194 Chapter 13 Customizing the Development Environment...
Page 320: ...302 Glossary...