summaryrefslogtreecommitdiff
path: root/regex.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-05-11 01:34:33 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-05-11 01:34:33 +0000
commit039a94478ee4f8b3154e99812223614e03ac186c (patch)
tree0e4a60fcf8f023cdd67f3e8132c6e5e6ced199dc /regex.h
parent27e948fd458b06c3a018d46f04599a874f43fd92 (diff)
.*/.+/.?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.h')
-rw-r--r--regex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/regex.h b/regex.h
index e03331b1b8..1159201f65 100644
--- a/regex.h
+++ b/regex.h
@@ -66,9 +66,9 @@
/* newline will be included for . and invert charclass matches */
#define RE_OPTION_POSIXLINE (RE_OPTION_EXTENDED<<1)
/* search for longest match, in accord with POSIX regexp */
-#define RE_OPTION_POSIXMATCH (RE_OPTION_POSIXLINE<<1)
+#define RE_OPTION_LONGEST (RE_OPTION_POSIXLINE<<1)
-#define RE_MAY_IGNORECASE (RE_OPTION_POSIXMATCH<<1)
+#define RE_MAY_IGNORECASE (RE_OPTION_LONGEST<<1)
#define RE_OPTIMIZE_ANCHOR (RE_MAY_IGNORECASE<<1)
#define RE_OPTIMIZE_EXACTN (RE_OPTIMIZE_ANCHOR<<1)
#define RE_OPTIMIZE_NO_BM (RE_OPTIMIZE_EXACTN<<1)