Run the replacement regex only once to avoid word race conditions
Merge pull request #8 from varvet/fix-double-matching

Run the replacement regex only once to avoid word race conditions