Are you sure that this ran on your system and that you copied it correctly? I tried running your code, but the if statement is evaluating to be false, which means nothing is printed.
Here's a few observations.
At the moment, I think you have some stuff in your regex that is doing something other than what you're wanting to do. Of course, being no regex expert myself, I could be very wrong about that. Perhaps someone else with more knowledge and/or experience can shed more light on the situation.
In reply to Re: PERL Regular expression
by dasgar
in thread PERL Regular expression
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |