NSISpcre plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
Line 8: Line 8:


== Description ==
== Description ==
An NSIS plugin providing Perl compatible regular expression functions.
A plugin providing Perl compatible regular expression functions.


A simple wrapper around the excellent PCRE library which was written by
A simple wrapper around the excellent PCRE library which was written by
Line 15: Line 15:
For those that require documentation on how to construct regular expressions,
For those that require documentation on how to construct regular expressions,
please see [http://www.pcre.org/ www.pcre.org]
please see [http://www.pcre.org/ www.pcre.org]
See the NSISpcre.nsh file for full documentation on the available functions.
See the NSISpcreTest.nsi file for some examples.





Revision as of 01:52, 31 January 2007

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)