You can't just make up syntax and expect perl to know what you want. Read perlre, then read it a couple more times, then you should be able to figure out how to tell perl what you're looking for.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: why my reg ex matches greedy?
by roboticus
in thread why my reg ex matches greedy?
by lngperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |