First page Back Continue Last page Overview Graphics
More optimisations
Some people like to use char-classes as escapes
In older versions of Perl this is a bad idea as it is much slower and interferes with the Boyer-Moore optimisations
But in Perl 5.10 this is no longer the case
Char classes used as meta-char escapes are converted to literals:
- /[.]/ is treated the same as /\./