Click to See Complete Forum and Search --> : Regular Expressions


mevans
October 20th, 1999, 04:51 PM
I'm looking for a component that will parse regular expressions. I found "regexp" as freeware on the internet. FYI, here's an exerpt from the readme file:

"This is a freeware wrapper for regular expression using C++ and COM.
It is based on the implementation of a regular expression engine written
by the legendary Henry Spencer originally in "C" around 10 years ago."

HOWEVER, it won't parse regular expressions like [0-9]{3} (give me 3 digits). It doesn't like the braces.

Next, I found RegularX (http://www.solutions.nu/RegularX/). The demo works great and I'd love to buy it ($150) but nobody answers the phones (2 numbers -- one is "customer support") and the web link to purchase gives a "page not found" error.

Does anyone know if this company is still in business? Does anyone know how to get a hold of them?

Better yet, does anyone know of an alternate regular expression library that I can use from VB and will handle regular expressions with the braces?

(There were a few posts to the C++ forum not too long ago but I couldn't find the materials that were referenced or if they applied to VB.) Thanks for the help!

Mark
mevans@printrak.com

Lothar Haensler
October 21st, 1999, 01:47 AM
there is a RegExp class in the C++ section of this site. I used this to write a C++ DLL, wrote a wrapper class in VB 6. It took me about a day to get a complete working regexp Module for VB.

Best of all, it's free.

Yeah, I have been looking for a regexp module for many many months.

Also, you could use a more crazy approach. I created a solution which made use of the DHTML scriptlet control and a few lines of Jscript (Jscript has native support for regexps).
It worked, but it was considerably slower than the c version.