Regardless of the performance problems, you may be interested in using a proper stemmer to create a search index. See Lingua::Stem.
In reply to Re^3: Need to speed up many regex substitutions and somehow make them a here-doc list
by Corion
in thread Need to speed up many regex substitutions and somehow make them a here-doc list
by xnous
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |