NSISpcre plug-in

From NSIS Wiki

Author: Robstocks (talk, contrib)


Links

Download v1.0:

NSISpcre.zip (99 KB)

Description

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.


Features:

  • Test whether a subject string matches a pattern
  • Capture substrings
  • Perform complex replacements
  • Control matching options
  • Integration with LogicLib
  • Unicode UTF-8 support (untested)
Personal tools
donate
ads