From e4e5edd5c30ea8b3b0f85e1469e0379e2b67e21e Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 22 May 2000 07:09:55 +0000 Subject: /p is back for transit git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regex.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'regex.h') diff --git a/regex.h b/regex.h index a1e3093a04..80369d4442 100644 --- a/regex.h +++ b/regex.h @@ -69,8 +69,10 @@ #define RE_OPTION_IGNORECASE (1L) /* perl-style extended pattern available */ #define RE_OPTION_EXTENDED (RE_OPTION_IGNORECASE<<1) +/* newline will be included for ., ^ and $ ignore newline */ +#define RE_OPTION_POSIXLINE (RE_OPTION_EXTENDED<<1) /* newline will be included for . */ -#define RE_OPTION_MULTILINE (RE_OPTION_EXTENDED<<1) +#define RE_OPTION_MULTILINE (RE_OPTION_POSIXLINE<<1) /* search for longest match, in accord with POSIX regexp */ #define RE_OPTION_LONGEST (RE_OPTION_MULTILINE<<1) -- cgit v1.2.3