Sample code which uses open source POCO C++ Libraries (POCO stands for POrtable COmponents). Some of them are available at http://poco.roundsquare.net. (Currently in Japanese)
root/trunk/0030_RegularExpression
Reset increment link option in release build for every VC++ project.
| Name | Date | Rev. | Commit message |
|---|---|---|---|
| bootstrap | Wed, Jun 16 2010 | 63 | [Setsu] 0030_RegularExpression |
| configure.in | Wed, Jun 16 2010 | 63 | [Setsu] 0030_RegularExpression |
| Makefile.am | Wed, Jun 16 2010 | 63 | [Setsu] 0030_RegularExpression |
| ReadMe.txt | Wed, Jun 16 2010 | 63 | [Setsu] 0030_RegularExpression |
| RegularExpressionTest.cpp | Wed, Jun 16 2010 | 63 | [Setsu] 0030_RegularExpression |
| RegularExpressionTest.sln | Wed, Jun 16 2010 | 63 | [Setsu] 0030_RegularExpression |
| RegularExpressionTest.vcproj | Fri, Jul 02 2010 | 142 | [Setsu] Reset increment link option in release build for every VC... |
| ScopedLogMessage.cpp | Wed, Jun 16 2010 | 63 | [Setsu] 0030_RegularExpression |
| ScopedLogMessage.h | Wed, Jun 16 2010 | 63 | [Setsu] 0030_RegularExpression |
ReadMe.txt
// // RegularExpression ReadMe.txt // // Created by Setsu on 6/13/2010. // Copyright 2010 RoundSquare Inc. All rights reserved. // //---------------------------------------- // What is RegularExpression? //---------------------------------------- Sample code which uses Poco::RegularExpression. http://pocoproject.org/docs/Poco.RegularExpression.html //---------------------------------------- // Building on Linux //---------------------------------------- 1. bootstrap chmod +x bootstrap ./bootstrap 2. configure for debug build: CXXFLAGS="-g -D_DEBUG -Wall" ./configure --cache=/dev/null --prefix=/usr for release build: CXXFLAGS="-O2 -Wall" ./configure --cache=/dev/null --prefix=/usr 3. make make //---------------------------------------- // Building on Mac OS X //---------------------------------------- 1. bootstrap cat bootstrap | sed s/libtoolize/glibtoolize/ > bootstrap.mac chmod +x bootstrap.mac ./bootstrap.mac 2. configure for debug build: CXXFLAGS="-g -D_DEBUG -Wall" ./configure --cache=/dev/null --prefix=/usr for release build: CXXFLAGS="-O2 -Wall" ./configure --cache=/dev/null --prefix=/usr 3. make make //---------------------------------------- // Building on Windows // NOTE: Assuming environment variable POCO_BASE is properly defined. //---------------------------------------- Open RegularExpressionTest.sln file from VC++, then build and run it. //---------------------------------------- // Console output for RegularExpressionTest // NOTE: Number in bracket indicates threadID //---------------------------------------- [0] RegularExpressionTest start [0] Finding out methods/enumerations from "http://pocoproject.org/docs/Poco.RegularExpression.html". [0] found "MatchVec" [0] found "Options" [0] found "RegularExpression" [0] found "extract" [0] found "extract" [0] found "match" [0] found "match" [0] found "match" [0] found "match" [0] found "match" [0] found "match" [0] found "split" [0] found "split" [0] found "subst" [0] found "subst" [0] found "substOne" [0] HTML file "RegularExpression.html" created. [0] RegularExpressionTest end