RAT-138 RAT runs very slowly on some input
Use String matching rather than building patterns
This improves performance somewhat, but is still inefficient

git-svn-id: https://svn.apache.org/repos/asf/creadur/rat/trunk@1484131 13f79535-47bb-0310-9956-ffa450edef68