Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Elegant way to split into sequences of identical chars?

by jonix (Friar)
on Nov 30, 2005 at 19:48 UTC ( #513073=note: print w/replies, xml ) Need Help??


in reply to Re^4: Elegant way to split into sequences of identical chars?
in thread Elegant way to split into sequences of identical chars?

Just tried this with perl v5.8.7 on my gentoo linux box at home:
  • /$re/g matches x 5 6 x
  • /(??{$re})/g matches xx 55 6 xx

Cheers,
jonix

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2019-05-22 10:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (138 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!