Assumed you wish to match a large wordlist against a huge chunk of text. As a small test case, let
for, far, bar, foo, boofaz, boofar, boof, faz, foobaz, foobars, boofar
be your wordlist. Now, you may apply the according regualar expression:
But which way a regex engine would implement the assignment?
→ read more …
# $tags = [ ]; |
# $categories = [ ]; |
# no comments, no trackbacks | |