NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
and the regex problem/solution was? (Score:1)
Bill
# I had a sig when sigs were cool
use Sig;
Re:and the regex problem/solution was? (Score:2)
I added negative lookahead:This way, when it backtracks after the &\w+; fails, it will try to proceed with \S, but fail because the lookahead sees the '&'.
It's not the most complicated thing, but sometimes we have mental blocks
Reply to This
Parent