Have TR log regexp operations that use non-regexp patterns.

For consumption by Optimization Coach.