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.
Regards
reivaj
Printable View
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.
Regards
reivaj
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 www.boost.org.
Maybe use the Boost Regex library (http://www.boost.org/libs/regex/doc/index.html). I don't know if they work the same as the ones from SQL.
reivaj7999: LIKE in SQL is not regullar expression... You can look Perl's regex, which is most common today...