diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-11-01 12:25:18 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-11-01 12:25:18 +0000 |
commit | 9471bbcfa06a87dcb6803a36d1208c214fa56003 (patch) | |
tree | f5edcdab07ad4b718037fed3b15a7bbb3e4961f2 /Src/zsh.h | |
parent | e8d1ef3613e4c43e0b0c08ac2a124f4cc99ab652 (diff) | |
download | zsh-9471bbcfa06a87dcb6803a36d1208c214fa56003.tar.gz zsh-9471bbcfa06a87dcb6803a36d1208c214fa56003.tar.xz zsh-9471bbcfa06a87dcb6803a36d1208c214fa56003.zip |
22934, modified, see 22937: add HIST_SUBST_PATTERN option
make ${.../#%...} anchor at both ends
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h index c73ae3b9a..1c693fef4 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1405,6 +1405,9 @@ struct tieddata { #define SUB_ALL 0x0100 /* match complete string */ #define SUB_GLOBAL 0x0200 /* global substitution ${..//all/these} */ #define SUB_DOSUBST 0x0400 /* replacement string needs substituting */ +#define SUB_RETFAIL 0x0800 /* return status 0 if no match */ +#define SUB_START 0x1000 /* force match at start with SUB_END + * and no SUB_SUBSTR */ /* Flags as the second argument to prefork */ #define PF_TYPESET 0x01 /* argument handled like typeset foo=bar */ @@ -1631,6 +1634,7 @@ enum { HISTREDUCEBLANKS, HISTSAVEBYCOPY, HISTSAVENODUPS, + HISTSUBSTPATTERN, HISTVERIFY, HUP, IGNOREBRACES, |