in reply to code of re pragma?

OK found regcomp.sym but they don't include things like TRIE-EXACT

Hi,

TRIE_STUDY_OPT at regcomp.c#l4668 looks interesting

4660 if ( last && trietype ) { 4661 if ( trietype != NOTHING ) { 4662 /* the last branch of the sequenc +e was part of 4663 * a trie, so we have to construc +t it here 4664 * outside of the loop */ 4665 made= make_trie( pRExC_state, sta +rtbranch, 4666 first, scan, tai +l, count, 4667 trietype, depth+ +1 ); 4668 #ifdef TRIE_STUDY_OPT 4669 if ( ((made == MADE_EXACT_TRIE && 4670 startbranch == first) 4671 || ( first_non_open == first + )) && 4672 depth==0 ) { 4673 flags |= SCF_TRIE_RESTUDY;

Replies are listed 'Best First'.
Re^2: code of re pragma?
by LanX (Saint) on May 07, 2017 at 01:20 UTC
    Thanks great!

    That's definitely the sourcecode producing the re "debug" dump. :)

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!