CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1999
    Location
    California
    Posts
    3

    Regular Expressions

    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
    [email protected]


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Regular Expressions

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured