TS-1475: remove regex_remap simple micro-optimization

The regex_remap simple regex optimization ends failing to initialize
the matching strings. Since this is a micro-optimization, just
remove the whole notion of a simple regex match.

Coverity #1021771