In Regular Expression Syntax, it reads "In regular expressions, all characters match themselves except for the following special characters"
.[{()\*+?|^$
Sweet! I tended to escape any character I wasn't sure about in TP6 RE, so this will save me some time. However, is the list complete? Specifically these appear to be missing:
]}
Dumb Question From TP7 Help
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Dumb Question From TP7 Help
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
That was counterintuitive, but you are correct.ben_josephs wrote:Try it.
] is only special if it matches a preceding [.
Perl RE syntax is reminding me of a line from the Clint Eastwood film, "Firefox".
"You cannot think in English and translate. You must think in Russian."
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.