Regex special characters act differently when they are within a bracketed character class, and many of them (including .) no longer have a special meaning there. See "Special Characters Inside a Bracketed Character Class" in perlrecharclass for the full list.
In reply to Re: regexp question
by MVS
in thread regexp question
by ramprasad27
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |