Improved v2 RegEx engine in version 4.0.0.8

A swapping-ground for Regular Expression syntax

Improved v2 RegEx engine in version 4.0.0.8

Postby Admin » Wed May 21, 2025 9:18 am

The v2 RegEx engine has been improved in version 4.0.0.8 to provide better support for Unicode characters.
Some regular expressions that did not work in earlier versions are now supported.

Examples:

Match: \s+/g (with global replace)
Replace: _
This would previously fail if certain accented characters were present, e.g. a-grave:
https://en.wikipedia.org/wiki/%C3%80

Match: [^\x00-\xFF]+/g
Replace: (empty string)
This regular expression, which removes all characters with a code point above 255, was previously unsupported but now works correctly.
Admin
Site Admin
 
Posts: 2910
Joined: Tue Mar 08, 2005 8:39 pm

Return to Regular Expressions