File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change
1
+ Wed Oct 15 23:04:25 2003 Akinori MUSHA <knu@iDaemons.org>
2
+
3
+ * lib/jcode.rb: Merge from 1.8: use Regexp.new()'s extra arguments
4
+ correctly.
5
+
1
6
Wed Oct 15 22:51:17 2003 Akinori MUSHA <knu@iDaemons.org>
2
7
3
8
* ext/digest/digest.c (rb_digest_base_s_new): Zero the newly
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ def _regex_quote(str)
19
19
PATTERN_EUC = '[\xa1-\xfe][\xa1-\xfe]'
20
20
PATTERN_UTF8 = '[\xc0-\xdf][\x80-\xbf]|[\xe0-\xef][\x80-\xbf][\x80-\xbf]'
21
21
22
- RE_SJIS = Regexp . new ( PATTERN_SJIS , 'n' )
23
- RE_EUC = Regexp . new ( PATTERN_EUC , 'n' )
24
- RE_UTF8 = Regexp . new ( PATTERN_UTF8 , 'n' )
22
+ RE_SJIS = Regexp . new ( PATTERN_SJIS , 0 , 'n' )
23
+ RE_EUC = Regexp . new ( PATTERN_EUC , 0 , 'n' )
24
+ RE_UTF8 = Regexp . new ( PATTERN_UTF8 , 0 , 'n' )
25
25
26
26
SUCC = { }
27
27
SUCC [ 's' ] = Hash . new ( 1 )
You can’t perform that action at this time.
0 commit comments