Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Answer: How do I match this without lookbehind?

by runrig (Abbot)
on Dec 08, 2000 at 06:00 UTC ( #45670=categorized answer: print w/replies, xml ) Need Help??

Q&A > regular expressions > How do I match this without lookbehind? - Answer contributed by runrig

Sometimes split is not the best answer for splitting:
my @results; push @results, $1 while /(~?.)/g;

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[choroba]: Good morning!
[choroba]: Still no ambrus?

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2017-06-26 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (573 votes). Check out past polls.