Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Parsing and translating Perl Regexes ( PPIx::Regexp::xplain Regexp::Debugger )

by Anonymous Monk
on Nov 05, 2013 at 19:18 UTC ( #1061359=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ppixregexplain.pl:150:#~  #~ TODO REPORTBUG PPIx::Regexp::Token::Greed
    +iness NEEDS TO DIE / THERE NEEDS TO BE A SINGLE PPIx::Regexp::Token::
    +Quantifier
    ppixregexplain.pl:325:#~  TODO REPORTBUG perlre/perlretut/re DO NOT LI
    +NK perldebguts which explains use re 'debug'; output
    ...
    _desc.pl:761:#~ TODO REPORT BUG? SHOULD BE RECOGNIZED AS  Token::Modif
    +ier/GroupType::Modifier
    _desc.pl:931:'\P'    => ['L<perlrecharclass/Unicode Properties>','TODO
    + warn REPORT BUG for PPIx::Regexp; \PP is \P{Prop} ; for example \PN 
    +is \P{Number}; ' ],
    _desc.pl:932:'\p'    => ['L<perlrecharclass/Unicode Properties>','TODO
    + warn REPORT BUG for PPIx::Regexp; \pP is \p{Prop} ; for example \pN 
    +is \p{Number}; ' ],
    
  2. or download this
    'qr/(?[ ( ( [c^] - [d^] ) | ( [^c] & ( [a] + [2] ) ) ) ])/', ## TODO R
    +EPORT misparsed as [^c] and [^d]
    "qr{ \\pP\\p{P}\\PP\\P{P} }x", ## TODO report bug misparsed single let
    +ter Unicode properties
    ...
    }x',,,
    
    "m{(?i)a(?-i)B(?i)(?-i:B\\w(?i:q\\w))q}xi",# a case insensitive B case
    + sensitive
    
  3. or download this
    #~ a is case INsensitive
    #~ B is case SEnsitive
    ...
        (?-i:$B_TERPOLATES)
    }xi
    __GROAN__
    
  4. or download this
    sub xplain_modifiers
    sub PPIx::Regexp::Token::Modifier::xmods_explode 
    sub PPIx::Regexp::xmods_propagate 
    sub PPIx::Regexp::Element::xmerge_mods 
    sub PPIx::Regexp::Node::xmods_susceptible
    sub PPIx::Regexp::Node::xmods
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2015-07-29 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (268 votes), past polls