removed .test() in favor of .exec(), separated search match function
Merge pull request #1486 from koenpunt/single-exec

Single string test