Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by nysus (Parson)
on Aug 24, 2020 at 12:45 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-24 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found