As you pointed out, There was a typo in code snippet 2. I have changed $pattern1 with $pattern2 in code snippet 2. But I am getting different out. Is it because I am using version 5.10 ?
In reply to Re^2: Question on Regular Expression
by sjain
in thread Question on Regular Expression
by sjain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |