summaryrefslogtreecommitdiffstats
path: root/regex.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-19 04:14:07 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-19 04:14:07 +0000
commitf7dc19922703c63236b6b1228f092d945af64d22 (patch)
treea9d0b59104963f586cb03c496958166930480ec8 /regex.h
parent56331157fa789fcd4b72fa630f24ce96724ebb2c (diff)
downloadruby-f7dc19922703c63236b6b1228f092d945af64d22.tar.gz
ruby-f7dc19922703c63236b6b1228f092d945af64d22.tar.xz
ruby-f7dc19922703c63236b6b1228f092d945af64d22.zip
* eval.c (rb_thread_cleanup): current thread may be THREAD_STOPPED,
for example when terminated from signal handler. * regex.c (re_compile_pattern): remove /p support. * regex.h: ditto. * parse.y (parse_regx): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.h')
-rw-r--r--regex.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/regex.h b/regex.h
index d5eb01d23..fbc29b20a 100644
--- a/regex.h
+++ b/regex.h
@@ -73,8 +73,6 @@
#define RE_OPTION_MULTILINE (RE_OPTION_EXTENDED<<1)
/* ^ and $ ignore newline */
#define RE_OPTION_SINGLELINE (RE_OPTION_MULTILINE<<1)
-/* works line Perl's /s; it's called POSIX for wrong reason */
-#define RE_OPTION_POSIXLINE (RE_OPTION_MULTILINE|RE_OPTION_SINGLELINE)
/* search for longest match, in accord with POSIX regexp */
#define RE_OPTION_LONGEST (RE_OPTION_SINGLELINE<<1)