See:
Only the first matches.$_ = "ab_"; print "\\b matches\n" if m!ab_\b!; $_ = "ab*"; print "\\b matches\n" if m!ab\*\b!;
So if you change your regex to:
it seems to work.m@((\*|_)\S+\b)(.+?)(\b\S+\2)@s
In reply to Re: Y.A.R.M.
by htoug
in thread Y.A.R.M.
by Intrepid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |