Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 meditating upon the Monastery: (4)
As of 2016-06-27 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (333 votes). Check out past polls.