CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2009
    Posts
    12

    Regular Expressions for CString

    Just wondering, what do people use for regular expression matching for C/C++?
    I'm using the MFC framework. It doesn't necessarily have to be for CString, but it would be nice. Something like Regex for C#.
    Last edited by sinclaire; March 12th, 2009 at 07:30 PM.

  2. #2
    Join Date
    Jul 2002
    Posts
    2,543

    Re: Regular Expressions for CString

    In VS2008 SP1 you can use TR1 regex:
    http://www.codeguru.com/cpp/cpp/cpp_...cle.php/c15339

    In older versions, use Boost library:
    http://www.boost.org/doc/libs/1_38_0...tml/index.html

  3. #3
    Join Date
    Mar 2009
    Posts
    12

    Re: Regular Expressions for CString

    Quote Originally Posted by Alex F View Post
    In VS2008 SP1 you can use TR1 regex:
    http://www.codeguru.com/cpp/cpp/cpp_...cle.php/c15339

    In older versions, use Boost library:
    http://www.boost.org/doc/libs/1_38_0...tml/index.html
    Thanks, I didn't know VS2008 had it.

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