Jason
Jason

Reputation: 556

xcode and c++ regular expressions?

I developed a sort of scripting language using Java as my parser, but now I'm trying to improve it by recreating it with c++ in Xcode. I really need REGEX to make it work, but I'm not sure how to use REGEX with C++.

Does the newest version of Xcode (the Mac IDE) have a C++ REGEX library built into it? If so, what is it and how do I use it? If not, how can I get one and have Xcode recognize it?

Upvotes: 1

Views: 2253

Answers (1)

Jens Kilian
Jens Kilian

Reputation: 423

libc++ (which is available in Xcode 4.3 and will become the preferred standard library version in the next version, IIRC) supports the C++11 <regex> header.

Upvotes: 3

Related Questions