Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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?
[Corion]: A good morning to everybody ! ;)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-09-21 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (242 votes). Check out past polls.

    Notices?