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

Re^3: regex issue

by kroach (Pilgrim)
on Aug 03, 2016 at 20:21 UTC ( #1169104=note: print w/replies, xml ) Need Help??

in reply to Re^2: regex issue
in thread regex issue

Small correction, you missed a word-boundary assertion in the look-ahead. The regex should be:
Without the additional \b before \1, three-letter words that are trailing substrings of other words would also match.

Replies are listed 'Best First'.
Re^4: regex issue
by ExReg (Priest) on Aug 03, 2016 at 20:25 UTC

    Thanks. I missed that copying from the PC that has perl that I tested this on to this one.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2020-10-27 03:40 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (256 votes). Check out past polls.