Using regular expressions in scripts

Starting with Eureka Patch 5, an enhanced regex engine replaced the native JavaScript regex engine. JavaScript regular expressions automatically use the enhanced regex engine, which provides improved performance and supports all behaviors of standard regular expressions as defined by Mozilla JavaScript. The enhanced regex engine continues to support using Java syntax in regular expressions.

The SNC.Regex API is not available for scoped applications. When moving from Eureka Patch 4 and earlier versions, you should change your scripts to remove the SNC.Regex API and use standard JavaScript regular expressions.

For more information on JavaScript regular expressions, see the Mozilla JavaScript documentation on regular expressions and RegExp.