Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: Useful Uses of regex code expressions?

by jryan (Vicar)
on Jun 27, 2002 at 22:19 UTC ( [id://177870]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Useful Uses of regex code expressions?
in thread Useful Uses of regex code expressions?

Regarding 1: That most certainly is an undocumented feature. According go perlre:

(?(condition)yes-pattern|no-pattern) (?(condition)yes-pattern) Conditional expression. (condition) should be either an integer in par +entheses (which is valid if the corresponding pair of parentheses mat +ched), or look-ahead/look-behind/evaluate zero-width assertion.

Update: I saw, and read that phrase; however, my brain hates me and skipped processing it correctly ;(

Replies are listed 'Best First'.
Re: Re: Re: Re: Useful Uses of regex code expressions?
by Anonymous Monk on Jun 27, 2002 at 22:36 UTC
    Regarding 1: That most certainly is an undocumented feature

    It is documented in the chunk of perlre you quoted

    ... or look-ahead/look-behind/evaluate zero-width assertion.

    It can be an integer or

    • a look-ahead zero width assertion
    • a look-behind zero width assertion
    • an evaluate zero width assertion

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2024-04-19 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found