From b4d336aaca41ab5a671772f2fa61a3ac47a75d96 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sat, 11 Oct 2008 21:57:03 +0000 Subject: 25845: fix pattern but with backslashed and metafied charaters --- Src/pattern.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Src/pattern.c') diff --git a/Src/pattern.c b/Src/pattern.c index 81e4bce8b..60f70023a 100644 --- a/Src/pattern.c +++ b/Src/pattern.c @@ -1446,7 +1446,13 @@ patcomppiece(int *flagp) * Marker for restoring a backslash in output: * does not match a character. */ - return patcomppiece(flagp); + next = patcomppiece(flagp); + /* + * Can't match a pure string since we need to do this + * as multiple chunks. + */ + *flagp &= ~P_PURESTR; + return next; break; #ifdef DEBUG default: -- cgit 1.4.1