Thread: Help please: regular expressions in C++

  1. #1
    Baal reivaj7999's Avatar
    Join Date
    Aug 2005

    Unhappy Help please: regular expressions in C++

    Hi everyone, how do you do?

    How can I evaluate regular expressions in C++? I want to evaluate the regular expressions in the style of LIKE from SQL.

    Thank you guys.

  2. #2
    Registered User
    Join Date
    Jan 2005
    One way is to use a regular expression library. The Boost regex library is already part of TR1 and will be part of the next standard. You can download it and get instructions from

  3. #3
    Join Date
    Jul 2005
    Maybe use the Boost Regex library ( I don't know if they work the same as the ones from SQL.

  4. #4
    Registered User
    Join Date
    Nov 2004
    Slovenia, Europe
    reivaj7999: LIKE in SQL is not regullar expression... You can look Perl's regex, which is most common today...
    IDE: DevC++ (GCC 3.4.2)
    2nd compiler: g++ (GCC 3.4.3/4.0.0)
    3rd compiler: Borland 5.5
    IDE: Microsoft Visual C# Express 2005
    2nd IDE: SharpDevelop
    2nd compiler: csc in Command Prompt
    .NET Framework: 2.0
    Core: 5.1.0 beta 3
    IDE: PHPEdit
    2nd IDE: Notepad
    Favourite extensions: exif,gd2,mysql
    Favourite PEAR packages: DB, XML_RSS, ID3
    Favourite databases: SQLite, MySQL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Regular expressions [Boost]
    By Desolation in forum C++ Programming
    Replies: 8
    Last Post: 12-30-2006, 10:10 PM
  2. Regular expressions
    By JimpsEd in forum C Programming
    Replies: 5
    Last Post: 05-13-2006, 06:01 PM
  3. Regular expressions
    By jverkoey in forum A Brief History of
    Replies: 9
    Last Post: 01-23-2005, 09:36 PM
  4. Regular Expressions
    By Korn1699 in forum C# Programming
    Replies: 4
    Last Post: 01-12-2005, 12:50 AM
  5. regular expressions help
    By axon in forum A Brief History of
    Replies: 4
    Last Post: 09-09-2004, 07:16 PM