From 43203e1414b2b65484fe7ee28907b8db33e614c6 Mon Sep 17 00:00:00 2001 From: Dmitry Mikhirev Date: Mon, 24 Nov 2014 17:13:22 +0300 Subject: fixed capturing strings containing `$' --- GNUmakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'GNUmakefile') 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 ### -- cgit v1.2.1