![]() |
|
Just another Perl shrine | |
PerlMonks |
Why don't word-boundary searches with <CODE>\b</CODE> work for me?by faq_monk (Initiate) |
on Oct 08, 1999 at 00:25 UTC ( [id://672]=perlfaq nodetype: print w/replies, xml ) | Need Help?? |
Current Perl documentation can be found at perldoc.perl.org. Here is our local, out-dated (pre-5.6) version:
Two common misconceptions are that
Here are examples of the incorrect application of
"two words" =~ /(w+)(w+)/; # WRONG "two words" =~ /(w+)s+(w+)/; # right
" =matchless= text" =~ /=(w+)=/; # WRONG " =matchless= text" =~ /=(w+)=/; # right
Although they may not do what you thought they did,
An example of using
|
|