Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^2: Dynamically inspecting Regex OP-Codes at runtime?

by LanX (Chancellor)
on Jan 30, 2013 at 11:44 UTC ( #1016042=note: print w/replies, xml ) Need Help??

in reply to Re: Dynamically inspecting Regex OP-Codes at runtime?
in thread Dynamically inspecting Regex OP-Codes at runtime?

thanks for the pointers! =)

I'm still hoping to find something simpler w/o needing to compile XS-modules, preferably within the core.

Maybe my hack in Re^2: Is there really no @LAST_MATCH_START equivalent for named capture groups? is of help for you!

Cheers Rolf

  • Comment on Re^2: Dynamically inspecting Regex OP-Codes at runtime?

Replies are listed 'Best First'.
Re^3: Dynamically inspecting Regex OP-Codes at runtime?
by Anonymous Monk on Jan 30, 2013 at 12:08 UTC
      Thx for the links but thats Chinese for me.

      I'm not a versatile C programmer and AFAIK even C gurus get depressed when diving into perlguts.

      (BTW: the first link is defunc)

      > I imagine you might be able to peek at a regex structure using B,

      that would be nice...

      > but you can't get at the debug messages, they're not stored, and you can't hook DEBUG_COMPILE macros

      What exactly do you mean with "debug messages"? The token tree with commands like OPEN1?

      Or just message like

      anchored "1234" at 0 (checking anchored) minlen 4 Freeing REx: "(?<C>1)(?<D>2)(3)(?<A>4)"

      The latter I don't need! =)

      Cheers Rolf

      forgot the :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016042]
[Corion]: ambrus: I don't know how far the budget estimate has been overrun yet
[Corion]: marto: Heh ;) No, you were likely at Tegel or Schönefeld, the new one ("BER") will be somewhat outside of Berlin ;)
[marto]: Corion Schoenfeld, but my friend has been telling me about this new airport for about 7-8 years now :P
[marto]: I doubt it even exists as a building site :P
[ambrus]: Corion: does building airports "somewhat outside of" a city ever work? cities always grow around the airport quickly, because it's practical to be close to it, and after that, people start to complain that the airplanes land so close to their house and sh
[ambrus]: ould keep down the noise

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2017-02-23 12:01 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (346 votes). Check out past polls.