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
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...
[C++]
IDE: DevC++ 4.9.9.2 (GCC 3.4.2)
2nd compiler: g++ (GCC 3.4.3/4.0.0)
3rd compiler: Borland 5.5
[C#]
IDE: Microsoft Visual C# Express 2005
2nd IDE: SharpDevelop
2nd compiler: csc in Command Prompt
.NET Framework: 2.0
[PHP]
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