How to Modify And Test The Out Of The Box ESAPI Validation Regex Patterns
Last updated on OCTOBER 27, 2017
Applies to:Oracle Knowledge - Version 18.104.22.168 to 8.5.1 [Release 8.4 to 8.5]
Information in this document applies to any platform.
Oracle Knowledge ships with oob regex patterns for all values entered. In 8.6 regex patterns were added for each article attribute and are defined in the article attribute. This function was tested to allow all chars in the multiple locales. The non-English languages special characters (like Chinese, Japanese, Spanish, German and French) should be working fine. For example, for the French language, we tested all the French special accented characters: ùûüÿ€àâæçéèêëïîôœ .
If new chars need to be added to the regex this is the responsibility of the customer. Below are some tips for testing the regex chars.
Here are some suggestions on utilities that can be helpful when seeking to test modifications to the OOTB ESAPI validation regex patterns such as Validator.Email.
NOTE: If an invalid regex is added to the attribute it cannot be saved.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms