Using regular expressions in server-side scripts
JavaScript regular expressions automatically use an enhanced regex engine, which provides improved performance and supports all behaviors of standard regular expressions as defined by Mozilla JavaScript. The enhanced regex engine supports using Java syntax in regular expressions.
The SNC.Regex API is not available for scoped applications. For scoped applications, 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.
- Using Java syntax in JavaScript regular expressions
The enhanced regex engine includes an additional flag to allow Java syntax to be used in JavaScript regular expressions. - Convert SNC Regex expressions to enhanced regex expressions
When you upgrade to Eureka Patch 5 or later releases, you should convert scripts that use the SNC.Regex API to use regular JavaScript expressions.
Parent Topic:Server-side scripting