Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: What does \b{wb} in a regex do?

by nysus (Parson)
on Aug 24, 2020 at 12:45 UTC ( #11121030=note: print w/replies, xml ) Need Help??


in reply to What does \b{wb} in a regex do?

OK, light bulb finally just went off after staring at this. The not greedy part sucks up the characters until it finds a unicode word boundary.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

Replies are listed 'Best First'.
Re^2: What does \b{wb} in a regex do?
by Athanasius (Archbishop) on Aug 24, 2020 at 12:53 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11121030]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2021-10-28 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (96 votes). Check out past polls.

    Notices?