Could someone please point me to the code emitting the Regex Opcodes from use re "debug"
For instance
Compiling REx "(\.|[%"']|x)" Final program: 1: OPEN1 (3) 3: BRANCH (6) 4: EXACT <.> (21) 6: BRANCH (18) 7: ANYOF["'] (21) 18: BRANCH (FAIL) 19: EXACT <x> (21) 21: CLOSE1 (23) 23: END (0) minlen 1 Freeing REx: "(\.|[%"']|x)"
where do the Opcodes OPEN BRANCH ANYOF ... come from, where do I find a complete list?
I looked into perlreguts , the source of the re pragma and in the perl5 github mirror but couldn't indentify the code, most probably because I'm not a C programmer.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
OK found
but they don't include things like TRIE-EXACTIn reply to code of re pragma? by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |