cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
How to use RegExp in C++?
How to use RegExp in C++?
Jun 8, 2010 at 7:57pm UTC
MIH1406
(5)
Hi,
Is there a C++'s Standard way to use RegExp in my application?
If not, which C++ library can do it in both Linux and Windows?
Thanks,
Mohammad
Jun 8, 2010 at 8:10pm UTC
helios
(17560)
No.
Boost::regex.
Jun 8, 2010 at 8:10pm UTC
Duthomhas
(13200)
Use
Boost RegEx
http://www.boost.org/doc/libs/1_43_0/libs/regex/doc/html/index.html
Alternatively, you can use the
GNU RegEx
library
http://www.gnu.org/s/libc/manual/html_node/Regular-Expressions.html
Finally, there is the venerable
PCRE
library
http://www.pcre.org/
I'm sure there are other libraries out there, but one of those three are your best bets.
Hope this helps. BTW, please don't double-post.
Jun 8, 2010 at 8:38pm UTC
MIH1406
(5)
Thank you
Why do I have to double-post my thread?
Jun 8, 2010 at 9:01pm UTC
Albatross
(4553)
Actually, you do not have to multi-post and it's actually frowned upon, but if you use the previous page button on your browser, it might happen by accident as some information is resent.
-Albatross
Topic archived. No new replies allowed.