make the regex var volatile to avoid compiler optimizations.
Authored by: steveking 2015-08-22
Parent: [r1071]
Child: [r1073]