Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Regexes: finding ALL matches (including overlap)

by demerphq (Chancellor)
on Jun 04, 2005 at 17:15 UTC ( #463549=note: print w/replies, xml ) Need Help??


in reply to Re: Regexes: finding ALL matches (including overlap)
in thread Regexes: finding ALL matches (including overlap)

/..*..*../ is simply /.*/

That strikes me as somewhat odd. The pattern on the right can match a string of less than 4 characters, the pattern of the left can not.

---
$world=~s/war/peace/g

  • Comment on Re^2: Regexes: finding ALL matches (including overlap)

Replies are listed 'Best First'.
Re^3: Regexes: finding ALL matches (including overlap)
by nobull (Friar) on Jun 05, 2005 at 19:29 UTC
    Yes thanks. Updating the previous node.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2023-12-06 13:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (30 votes). Check out past polls.

    Notices?