Added some regex examples.

This commit is contained in:
Stephen M. McQuay
2012-05-25 08:49:38 -06:00
parent 530ccb5e37
commit 0a9c36b286
3 changed files with 60 additions and 2 deletions
+4 -2
View File
@@ -12,7 +12,7 @@ CPPFLAGS=-Wall -g -std=c++0x -pthread
# CXX=clang++
# CPPFLAGS=-Wall -g -std=c++0x -stdlib=libc++ -L/opt/clang/lib -pthread
all: auto constexpr ilists init init_new lambda loops thread thread2 tuple
all: auto constexpr ilists init init_new lambda loops regex1 regex2 thread thread2 tuple
run: all
./auto
@@ -25,7 +25,9 @@ run: all
./thread
./thread2
./tuple
echo "1 11 1.1 1.1E12 stephen" | ./regex2
echo "hello cruel 12 world 12.22. you are 12.12 awesome!!" | ./regex2
clean:
@rm -vf auto constexpr ilists init init_new lambda loops thread thread2 tuple
@rm -vf auto constexpr core* ilists init init_new lambda loops regex1 regex2 thread thread2 tuple