Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Perl's regex engine causes me distress

by demerphq (Chancellor)
on Jan 08, 2007 at 21:45 UTC ( [id://593629]=note: print w/replies, xml ) Need Help??


in reply to Perl's regex engine causes me distress

This is sometimes called auto-possesification in regex literature. Ive been looking into implementing it, but its not straightforward to do. Unfortunately. PCRE does it to some extent, but not Perl.

---
$world=~s/war/peace/g

Replies are listed 'Best First'.
Re^2: Perl's regex engine causes me distress
by sgt (Deacon) on Feb 07, 2007 at 10:44 UTC

    by the way the possessive notation +<quantifier> (saw it first in the second edition of the owl's book) is cute actually: "E++" reads well, take all you can (of these E) don't backtrack.

    cheers --stephan

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-03-29 05:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found