
Chapter 4 Regular Expressions
Scripting Guide 58
Inside bracket expressions, the following are true:
The special characters ‘.’ , ‘*’, ‘[‘, and ‘\’ (period, asterisk, left bracket,
and backslash) lose their special meanings within a bracket
expression and become ordinary characters.
The character sequences ‘[.’, ‘[=’, and ‘[:’ (left bracket followed by a
period, equal sign, or colon) are special inside a bracket expression
and are used according to Table 8. Beginning Character Sequences in
Bracket Expressions. A valid expression and the matching
terminating sequence ‘.]’, ‘=]’, or ‘:]’ must follow these symbols.
Beginning Character
Sequence:
Used to: Terminating
Sequence:
[. Delimit collating symbols. .]
[= Delimit equivalence class
expressions.
=]
[: Delimit character class
expressions.
:]
Table 8. Beginning Character Sequences in Bracket Expressions
Komentáře k této Příručce