it matches and prints end. my question is why '.' inside character class has lost its special meaning(match any character but \n)my $string = 'end.'; $string =~ /end[.]/; print $&;
In reply to regexp question by ramprasad27
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |