aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorDmitry Mikhirev2014-11-24 17:13:22 +0300
committerDmitry Mikhirev2014-11-24 17:13:22 +0300
commit43203e1414b2b65484fe7ee28907b8db33e614c6 (patch)
tree89df10491a8b446ef81b92a0b3f32ef76bd16d04 /GNUmakefile
parent8121caf374edc7b1bcbcddc97e8f2f61da60067f (diff)
downloadmake_pcre-43203e1414b2b65484fe7ee28907b8db33e614c6.tar.gz
make_pcre-43203e1414b2b65484fe7ee28907b8db33e614c6.tar.bz2
make_pcre-43203e1414b2b65484fe7ee28907b8db33e614c6.tar.xz
make_pcre-43203e1414b2b65484fe7ee28907b8db33e614c6.zip
fixed capturing strings containing `$'
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6ad40cb..c9bf862 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -5,7 +5,7 @@ PCRE_CFLAGS := $(shell $(PCRE_CONFIG) --cflags)
PCRE_LIBS := $(shell $(PCRE_CONFIG) --libs)
LIBS = $(PCRE_LIBS)
-tests = test001 test002 test003 test004 test005 test006
+tests = test001 test002 test003 test004 test005 test006 test007
ifneq ($(findstring 4.,$(MAKE_VERSION)),4.)
$(error GNU make version 4.x is required)
@@ -47,6 +47,8 @@ test005 = "$(m $(pat),$(subj),E)" = "$(subj)" -a "$(1)" = 1 -a "$(255)" = 255
# test parsing pattern options
test006 = "$(m ^TEST+,testtttt,iU)" = test
+test007 = "$(m a(.*)b,a\$$b)" = "a\$$b" -a "$(1)" = "\$$"
+
### END OF TEST EXPRESSIONS ###