Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2020-01-24 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?