diff options
author | Dmitry Mikhirev | 2014-11-18 15:56:35 +0300 |
---|---|---|
committer | Dmitry Mikhirev | 2014-11-18 15:56:35 +0300 |
commit | 878c75eb60a06d12e283c6e84b9cc214db2cbad3 (patch) | |
tree | 911228f396d04a26a89d753de849582ea1f908b2 /GNUmakefile | |
parent | 210a0a1c5c186fdafaa0847ae259698c557cb2bb (diff) | |
download | make_pcre-878c75eb60a06d12e283c6e84b9cc214db2cbad3.tar.gz make_pcre-878c75eb60a06d12e283c6e84b9cc214db2cbad3.tar.bz2 make_pcre-878c75eb60a06d12e283c6e84b9cc214db2cbad3.tar.xz make_pcre-878c75eb60a06d12e283c6e84b9cc214db2cbad3.zip |
capture named substrings
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index 3557b15..1452ca8 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,7 +1,7 @@ MAKE_INCLUDE := -I$(HOME)/src/make-4.1 CFLAGS = -Wall -tests = test001 test002 test003 +tests = test001 test002 test003 test004 -load pcre.so @@ -28,6 +28,9 @@ test002 = '$(m ^t$(var)t$$,test,E)' = test # test for string capturing by number test003 = '$(m ^t(es)t$,test)$0$1' = testtestes -a -z '$(m a,b)$0$1' +# test named string capturing +test004 = '$(m ^t(?<var>es)t$,test)' = test -a '$(var)' = es + ### END OF TEST EXPRESSIONS ### |