1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-30 05:40:58 +01:00

25845: fix pattern but with backslashed and metafied charaters

This commit is contained in:
Peter Stephenson 2008-10-11 21:57:03 +00:00
parent 5f83b99605
commit b4d336aaca
2 changed files with 13 additions and 1 deletions

View file

@ -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: