PowerPro plugin regex Version 2.09

<http://tech.groups.yahoo.com/group/power-pro/files/Plug-ins_and_add-ons/regex0209Release.zip>

(release zip includes PCRE 8.00)

Release Highlights
- Added new exec options for use with PCRE 8.00 and above:
   partial_soft
   partial_hard
   notempty_atstart

- Modified the processing of multiple matches in regex.pcreservices as 
recommended since the release of PCRE 8.00. In order to maintain compatibility 
with earlier versions of PCRE, the modification is bypassed when the loaded 
PCRE library version is earlier than 8.00. The modification corrects multiple 
match processing to allow for certain empty matches.

For example:
 regex.pcreReplace(?"abc\K|def\K","abcdefghi", "-")
   Result with PCRE 8.00 and above: abc-def-ghi
   Result with earlier PCRE versions: abc-defghi
   Result with earlier plugin versions: abc-defghi

- Enabled retrieval of output strings and vectors for partial matches when 
appropriate options are in effect, and the PCRE library version is 8.00 or 
above. No such output was available for partial matches with earlier versions 
of PCRE.

- Added aliases for existing special plugin options:
   start aka starts: previously implemented as offsets, enables inclusion of 
start indexes for matches in a full service vector. The values must be 
decreased by one to be equivalent to PCRE's start offsets values.
   nostrings: previously implemented as nosubstrings aka nosubs, the option 
suppresses inclusion of match strings in a full service output vector

- Added new special plugin options:
   end aka ends: enables inclusion of end indexes for matches in a full service 
vector. The values need not be adjusted for equivalence with PCRE's end offsets.
   length aka lengths: enables match lengths to be written to an output vector

Installation Instructions

No version of the regex plugin should be loaded during installation of the 
plugin or pcre library updates. The safest procedure is to first shutdown 
Powerpro.

Remove old versions of pcre*.dll and regex.dll from your main PowerPro and 
plugins directory. Unzip regex0209Release.zip into your PowerPro directory, 
preserving folder structure. Unless you use a separate folder for your pcf, all 
files should go into appropriate locations. If you do use a separate pcf 
folder, you will want to relocate the scripts, log and ini files to your pcf 
folder.

There is another optional help file available, pcre.chm. If installed it should 
go into the same directory as regex.chm (i.e., your plugins folder).

The pcre library in this distribution is version 8.00.

Note: you will need dll plugin (dll.dll) version 0103 or above and the dialog 
plugin (dialog.dll) version 0119 or above to use the included regexDialog 
script. Due to resource leaks, dialog plugin releases earlier than 0119 should 
be avoided, even with older versions of the regexDialog script. The most recent 
version of the unicode plugin is useful if working with regex and 
unicode/UTF-8. 

Refer to regex.chm in the plugins directory for additional information.

Reply via email to