change regex.one to exec() on regex literall
changes 2nd regex to regex literal, closes #2