aboutsummaryrefslogtreecommitdiffstats
path: root/regex.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-05-18 22:12:29 +0300
committerArnold D. Robbins <arnold@skeeve.com>2011-05-18 22:12:29 +0300
commit77459046d0c79ac5538f7da6731fbdb15c8d10fc (patch)
treeb5b2d79f4925c5f772dd5bd2b81ab78396286141 /regex.h
parentad61e1cba6053cac959d227dfdf2aaae0a01c125 (diff)
downloadegawk-77459046d0c79ac5538f7da6731fbdb15c8d10fc.tar.gz
egawk-77459046d0c79ac5538f7da6731fbdb15c8d10fc.tar.bz2
egawk-77459046d0c79ac5538f7da6731fbdb15c8d10fc.zip
Update regex; fix to io.c; update de.po, fi.po.
Diffstat (limited to 'regex.h')
-rw-r--r--regex.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/regex.h b/regex.h
index d54876a9..6bc503b2 100644
--- a/regex.h
+++ b/regex.h
@@ -72,10 +72,10 @@ typedef unsigned long int reg_syntax_t;
/* If this bit is set, then ^ and $ are always anchors (outside bracket
expressions, of course).
If this bit is not set, then it depends:
- ^ is an anchor if it is at the beginning of a regular
- expression or after an open-group or an alternation operator;
- $ is an anchor if it is at the end of a regular expression, or
- before a close-group or an alternation operator.
+ ^ is an anchor if it is at the beginning of a regular
+ expression or after an open-group or an alternation operator;
+ $ is an anchor if it is at the end of a regular expression, or
+ before a close-group or an alternation operator.
This bit could be (re)combined with RE_CONTEXT_INDEP_OPS, because
POSIX draft 11.2 says that * etc. in leading positions is undefined.
@@ -209,9 +209,9 @@ extern reg_syntax_t re_syntax_options;
#define RE_SYNTAX_GNU_AWK \
((RE_SYNTAX_POSIX_EXTENDED | RE_BACKSLASH_ESCAPE_IN_LISTS \
- | RE_INVALID_INTERVAL_ORD) \
+ | RE_INVALID_INTERVAL_ORD) \
& ~(RE_DOT_NOT_NULL | RE_CONTEXT_INDEP_OPS \
- | RE_CONTEXT_INVALID_OPS ))
+ | RE_CONTEXT_INVALID_OPS ))
#define RE_SYNTAX_POSIX_AWK \
(RE_SYNTAX_POSIX_EXTENDED | RE_BACKSLASH_ESCAPE_IN_LISTS \