![]() |
|
We don't bite newbies here... much | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
It's not about \w, but about backtracking.
\w* initially 'eats' 2L, but then is forced to ... well... put the 'L' back on the table to let \S have it. Hmm... maybe 'eating' is not the best image for what's going on with backtracking regexps...? :) Krambambuli --- In reply to Re^3: One regex construct to handle multiple string types
by Krambambuli
|
|