Fixed a bug that would sometimes cause an enabled message to display on the front end when using the Regex option in the Script Manager.