This is the first release of the library for Visual C++ 9 ( VS 2008 ). The release has been set at 3.1.0. The library is non-managed native C++ code. The features of the library are exactly the same as those features for Visual C++ 8 except for:

a) Links to the VC9 RTL and VC9 MFC libraries.

These features are:

a) A properties, methods, and events model for accessing regular expression functionality. The implementation supports both MFC GUI modules and console mode modules using extremely similar models. You can access properties and events using data member notation or by calling functions using Set and Get functionality. Events for member function handling use the new Unified Event Model, which uses __hook and __unhook to handle events or remove an event handler.

b) Properties for specifying a regular expression, string to match, file specification ( with wildcards ) to match, flexible options for regular expression syntax, flexible options for matching considerations, and other properties to enhance matching capabilities.

c) Methods to match a string in numerous ways; the entire string, the beginning of the string, anywhere in the string, multiple exclusive matches in a string. Methods to match file data; either a single match in a file or multiple matches in a file. A method to change data in a string based on format-like replacement syntax which can use the actual data found or one of its sub-expressions. A method to change file data using the same format-like replacement as with a string. The methods to change string or file data can change the replacement string on-the-fly by using the appropriate event handler.

d) Events to handle the gathering of specific data for each of the matching methods. Most of the event handlers gain access to what the expression matches as well as to what each sub-expression of the expression matches.

e) The library supports multi-threaded access, and reuse and re-entrancy in event handlers.