Pcre: Perl-compatible regular-expression library
-
Anyone used this? http://gnuwin32.sourceforge.net/packages/pcre.htm[^] cheers, Chris Maunder
We use PCRE.DLL to extend the regular expression capabilities of Labview (if you don't know what that is, you don't want to.), seems to work fine. Elaine :rose: The tigress is here :-D
-
We use PCRE.DLL to extend the regular expression capabilities of Labview (if you don't know what that is, you don't want to.), seems to work fine. Elaine :rose: The tigress is here :-D
-
Anyone used this? http://gnuwin32.sourceforge.net/packages/pcre.htm[^] cheers, Chris Maunder
I have with PHP and Perl of course. I haven't used the library though, but I imagine its not that big of a deal considering it still regex. Are you just curious for stats, or do you want something done? (*Falcon).Jeremy 141² 150 162² 145 143² 164
-
I have with PHP and Perl of course. I haven't used the library though, but I imagine its not that big of a deal considering it still regex. Are you just curious for stats, or do you want something done? (*Falcon).Jeremy 141² 150 162² 145 143² 164
Curious from the point of view that I've used enough RegEx stuff to wish that there was one true regular expression syntax... cheers, Chris Maunder
-
Anyone used this? http://gnuwin32.sourceforge.net/packages/pcre.htm[^] cheers, Chris Maunder
Hmmmm. _P_cre - _Chan_cre... Coincidence? "Please don't put cigarette butts in the urinal. It makes them soggy and hard to light" - Sign in a Bullhead City, AZ Restroom
-
Anyone used this? http://gnuwin32.sourceforge.net/packages/pcre.htm[^] cheers, Chris Maunder
Personally, no - I use the Boost Regex libraries, which (AFAIR) is configurable enough to match Perl or Posix syntax. FYI, there's a comparison of the performance of Boost Regex, Greta, PCRE and some others here[^]. Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'
-
Labview Ewww, we are in that industry. Tim Smith I'm going to patent thought. I have yet to see any prior art.
So was I until 1998...National Instruments even tried to headhunt me once. :laugh: Anna :rose: Homepage | My life in tears "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work. Trouble with resource IDs? Try the Resource ID Organiser Visual C++ Add-In
-
Personally, no - I use the Boost Regex libraries, which (AFAIR) is configurable enough to match Perl or Posix syntax. FYI, there's a comparison of the performance of Boost Regex, Greta, PCRE and some others here[^]. Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'
Thanks for the link! I'm surprised to see Boost so slow on simple matches. :( cheers, Chris Maunder
-
Curious from the point of view that I've used enough RegEx stuff to wish that there was one true regular expression syntax... cheers, Chris Maunder
Chris Maunder wrote: Curious from the point of view that I've used enough RegEx stuff to wish that there was one true regular expression syntax... Good luck ;). C++ will shortly have a standard RegEx, however. The Boost.RegEx library author, Dr John Maddock, proposed a library based on it (there are differences between the proposal and the current Boost.RegEx, however, AFAIK), and the committee voted it into the TR. (Hope I used the proper verbiage here.) William E. Kempf
-
Thanks for the link! I'm surprised to see Boost so slow on simple matches. :( cheers, Chris Maunder
As the article indicates, a consequence of the implementation using dynamic memory allocations. But the "experimental Boost library" is soon to be the official library, AFAIK, and it performs favorably in all test cases. William E. Kempf