Adobe 38040334 - Dreamweaver CS3 User Manual page 66

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Wildcard
Escape
string
Wildcard
\*
Wildcard with escape
\e*x
character
Optional whitespace
\s*
Required whitespace
\s+
Escape characters
The following is a list of escape characters that Dreamweaver supports, along with the strings to specify them and
descriptions of their usage.
Escape character
Escape
string
Backslash
\\
White space
\s
Newline
\n
Maximum string length
The maximum length allowed for a data string is 100 characters. For example, the following
a wildcard character.
Description
Skip all characters in the rule until the character that follows the wildcard is
found. For example, use
<MMTInstance:Editable name="\*">
to match all tags of this type that have the name attribute specified.
Where
is the escape character.
x
This is the same as the wildcard, except that an escape character can be
specified. The character following any escape character is ignored. This lets
the character following the wildcard appear in the string without matching
the criteria to end wildcard processing.
For example,
is used to recognize a JavaScript regular expres-
/\e*\\/
sion that starts and ends with a forward slash (/) and can contain forward
slashes that are preceded by a backslash (\). Because the backslash is the
code coloring escape character, you must precede it with a backslash when
you specify it in code coloring XML.
This matches zero or more white space or newline characters.
For example,
<!--\s*#include
tives whether they have any white space preceding the
or not because either case is valid.
The white-space wildcards match any combination of white space and
newline characters.
This matches one or more white -space or newline characters.
For example,
<!--#include\s+virtual
include directives with any combination of white space between
and
. White space must be specified between these
#include
virtual
tokens, but it can be any combination of valid white-space characters.
The white-space wildcards match any combination of white space and
newline characters.
Description
The backslash character (\) is the code coloring escape character, so it must
be escaped to be specified in a code coloring rule.
This escape character matches any non-visible characters, except those
listed that match the newline escape character, such as space and tab char-
acters.
The optional white-space and required white-space wildcards match both
the white-space and newline characters.
This escape character matches the newline (also known as linefeed) and
carriage-return characters.
is used to match ASP include direc-
#include
token
is used to match ASP
DREAMWEAVER CS3
Extending Dreamweaver
tag contains
blockEnd
60

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents