Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Split on regex, don't match partial regex

by GrandFather (Sage)
on Sep 28, 2012 at 03:25 UTC ( #996104=note: print w/ replies, xml ) Need Help??


in reply to Split on regex, don't match partial regex

* is greedy. Change it to *? to get a non-greedy match.

True laziness is hard work
  • Comment on Re: Split on regex, don't match partial regex

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (15)
As of 2016-07-01 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (9 votes). Check out past polls.