MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual page 123

For windows 95/98/nt4/2000
Table of Contents

Advertisement

Testing and Maintaining Web Pages
The following table shows supported POSIX character classes:
Character Class
alpha
upper
lower
digit
alnum
xdigit
space
print
punct
graph
cntrl
Multicharacter regular expressions
You can use the following rules to build multicharacter regular expressions:
Matches
Any letter [A-Za-z]
Any uppercase letter [A-Z]
Any lowercase letter [a-z]
Any digit [0-9]
Any alphanumeric character [A-Za-z0-9]
Any hexadecimal digit [0-9A-Fa-f]
A tab, new line, vertical tab, form feed, carriage return, or space
Any printable character
Any punctuation character
! ' # S % & ' ( ) * + , - . / : ; < = > ? @ [ / ] ^ _ { | } ~
Any character defined as a printable character except those defined as
part of the space character class
Any character not part of the character classes
[:upper:], [:lower:], [:alpha:], [:digit:], [:punct:], [:graph:], [:print:], [:xdigit:]
Parentheses group parts of regular expressions together into grouped
subexpressions that can be treated as a single unit. For example, (ha)+ matches
one or more instances of "ha".
A one-character regular expression or grouped subexpressions followed by an
asterisk (*) matches zero or more occurrences of the regular expression. For
example, [a-z]* matches zero or more lowercase characters.
A one-character regular expression or grouped subexpressions followed by a
plus (+) matches one or more occurrences of the regular expression. For
example, [a-z]+ matches one or more lowercase characters.
A one-character regular expression or grouped subexpressions followed by a
question mark (?) matches zero or one occurrences of the regular expression.
For example, xy?z matches either "xyz" or "xz".
The concatenation of regular expressions creates a regular expression that
matches the corresponding concatenation of strings. For example, [A-Z][a-z]*
matches any capitalized word.
The OR character (|) allows a choice between two regular expressions. For
example, jell(y|ies) matches either "jelly" or "jellies".
Braces ({}) are used to indicate a range of occurrences of a regular expression, in
the form {m, n} where m is a positive integer equal to or greater than zero
indicating the start of the range and n is equal to or greater than m, indicating
the end of the range. For example, (ba){0,3} matches up to three pairs of the
expression "ba".
115

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents