From NSIS Wiki
|Author: Robstocks (talk, contrib)|
NSISpcre.zip (99 KB)
A plugin providing Perl compatible regular expression functions.
A simple wrapper around the excellent PCRE library which was written by Philip Hazel, University of Cambridge.
For those that require documentation on how to construct regular expressions, please see www.pcre.org
See the NSISpcre.nsh file for full documentation on the available functions. See the NSISpcreTest.nsi file for some examples.
- Test whether a subject string matches a pattern
- Capture substrings
- Perform complex replacements
- Control matching options
- Integration with LogicLib
- Unicode UTF-8 support (untested)