in reply to How will my regular expression match?
Allthough, this is repetitive, using one-liners like:
2share!2flame...
helped me more than once (it's even more useful with complex regexes :-). It'a a shame that you have to dig into perldebug to find it. I think it should be mentioned in perlre also.perl -e "use re 'debug'; print 'this is a demo' =~ /\w+/;"
2share!2flame...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How will my regular expression match?
by hv (Prior) on Jul 11, 2004 at 03:13 UTC | |
Re^2: How will my regular expression match?
by diotalevi (Canon) on Jul 11, 2004 at 04:00 UTC |
In Section
Tutorials