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

Re: regexp match up to but not incliuding...

by gjb (Vicar)
on Dec 18, 2003 at 16:19 UTC ( #315553=note: print w/ replies, xml ) Need Help??


in reply to regexp match up to but not incliuding...

Look for zero-width positive look-ahead in the perldocs ((?=pattern)) and you might be interested in using the s regex switch (same document as refered to above).

Hope this helps, -gjb-

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2016-08-25 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (353 votes). Check out past polls.