This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c - cleanup the ahocorasick start class logic so it more self-documenting
authorYves Orton <demerphq@gmail.com>
Sat, 19 Apr 2014 12:42:47 +0000 (14:42 +0200)
committerYves Orton <demerphq@gmail.com>
Sun, 1 Jun 2014 22:42:07 +0000 (00:42 +0200)
commit615a2e7f2463ed7fed1d6e1819306477ba1709d1
tree7a35b4c78657d7e42f13ff51736355e04cc89de6
parent3eaa3d146cbf0b603941d8c6dac35bdb13d79ee6
regcomp.c - cleanup the ahocorasick start class logic so it more self-documenting

The logic of setting up an AHO-CORASICK regex start class was not fully
encapsuated in the make_trie_failtable() function, which itself was
poorly named. Merged the code into make_trie_failtable() and renamed
it to construct_ahocorasick_from_trie().
embed.fnc
embed.h
proto.h
regcomp.c