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

Re^4: Splitting a string

by nobull (Friar)
on Feb 25, 2006 at 15:37 UTC ( #532772=note: print w/replies, xml ) Need Help??


in reply to Re^3: Splitting a string
in thread Splitting a string

It is true that /PATTERN/g will DWIM when /PATTERN/ matches the empty string and not find an infinite number of matches as the same point.

I, however, consider code that relies on this behaviour in order save one character to be less simple.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2023-06-01 16:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?