Issue #5820 has been updated by Yui NARUSE.


= ??¶ã?®é??äº??????«ã?¤ã?????

Ruby??¸ã?®å?????è¾¼ã?¿æ??:
cd Onigmo
cp reg{comp,enc,error,exec,parse,syntax}.c reg{enc,int,parse}.h ~/ruby
cp oniguruma.h ~/ruby/include/ruby/

Onigmo: edf9df1cefc28472085a857116153529253ffab5 (tmp/ruby-2.0.x)
Ruby: r34150

>   1) Failure:
> test_parse_utf8(TestDateParse)
> [/home/naruse/ruby/test/date/test_date_parse.rb:651]:
> <"??¥æ??"> expected but was
> <nil>.

??????: è§£æ????«æ­£è¦¨ç????¨ã????¦ã????????
[:alpha:] ??? ASCII ??«ã???????????????????ªã????????è¸?????§ã????????

>   2) Failure:
> test_iso_8859_1(TestISO8859) [(eval):7]:
> Expected /^SS$/i to match "\xDF".
>
> >   3) Failure:
> > test_iso_8859_10(TestISO8859) [(eval):7]:
> > Expected /^SS$/i to match "\xDF".
>
>   4) Failure:
> test_iso_8859_13(TestISO8859) [(eval):7]:
> Expected /^SS$/i to match "\xDF".
>
>   5) Failure:
> test_iso_8859_14(TestISO8859) [(eval):7]:
> Expected /^SS$/i to match "\xDF".
>
>   6) Failure:
> test_iso_8859_15(TestISO8859) [(eval):7]:
> Expected /^SS$/i to match "\xDF".
>
>   7) Failure:
> test_iso_8859_16(TestISO8859) [(eval):7]:
> Expected /^SS$/i to match "\xDF".
>
>   8) Failure:
> test_iso_8859_2(TestISO8859) [(eval):7]:
> Expected /^SS$/i to match "\xDF".
>
>   9) Failure:
> test_iso_8859_3(TestISO8859) [(eval):5]:
> Expected /^SS$/i to match "\xDF".
>
>  10) Failure:
> test_iso_8859_4(TestISO8859) [(eval):7]:
> Expected /^SS$/i to match "\xDF".
>
>  11) Failure:
> test_iso_8859_9(TestISO8859) [(eval):5]:
> Expected /^SS$/i to match "\xDF".

??¥§ð¬¥½???
大æ??å­?å°???å­??????¼ã????«å¯¾å¿????å£????????

>  12) Failure:
> test_regexp_named_class(TestM17N) [/home/naruse/ruby/test/ruby/test_m17n.rb:543]:
> Expected /[[:space:]]/ to match " ".
>
>  13) Failure:
> test_posix_bracket(TestRegexp) [/home/naruse/ruby/test/ruby/test_regexp.rb:716]:
> Expected /\A[[:digit:]]+\z/ to match "ï¼?ï¼?ï¼?ï¼?ï¼?ï¼?ï¼?ï¼?ï¼?ï¼?".

POSIX ???å­???¯ã?©ã?¹ã?? ASCII ??®ç????²ã?ªã????????

>  14) Failure:
> test_unicode(TestRegexp) [/home/naruse/ruby/test/ruby/test_regexp.rb:792]:
> Expected /^\u0149$/i to match "??".

2)-11) ??¨å?????????
----------------------------------------
Feature #5820: Merge Onigmo to Ruby 2.0
https://bugs.ruby-lang.org/issues/5820

Author: Yui NARUSE
Status: Assigned
Priority: Normal
Assignee: Yui NARUSE
Category: M17N
Target version: 2.0.0


Ruby 1.9 ??§ã?¯æ­£è¦¨ç?¨ã?³ã?¸ã?³ã?? M17N ??®å?ºç?¤ã?¨ã????? Oniguruma ?????¨ã????¦ã????¾ã?????
????????? 2.0 ??§ã?? Oniguruma ??®æ?¹é???????§ã????????k-takata ????????? Onigmo ??«ç½®?????????????????¨ã?????話ã?§ã?????
https://github.com/k-takata/Onigmo/tree/tmp/ruby-2.0.x

?????®å?????è¾¼ã?¿ã?«ã?????å½±é?¿ã?¯ä»¥ä¸???®é???????§ã?????
* 100%äº???? (??¢å????®ã????¹ã???????¨ã?¦ç?¡ä¿®æ­£ã?§é?????)
* ???????¤ã????®æ?°æ????? [ruby-dev:44410]
  * æ­£è?¨ç?
???  * \K, \R, \X, (?(cond)yes|no), \g<0>, \g<+n>, (?au)
???  * Perl 5.10äº??????®å??????????§ï?????Ruby??«ã?¯ä??è¦???§ã???????????ï¼?
    * Shift_JIS, EUC-JP??§ã????¨è????¢ã?«ã????¡ã??????????ªã?©ã?®å¤§???å­?å°???å­????ä¸?è¦?æ¤?ç´¢ã?«å¯¾å¿????
    * Shift_JIS, EUC-JP??§ã??\p{Han}, \p{Latin}, \p{Greek}, \p{Cyrillic} ??«å¯¾å¿????
    * ?????©å??
      * ???é»???®ã?¢ã?³ã?«ã?¼ã?«ã??????????©å?????å®?è£????
      * http://redmine.ruby-lang.org/issues/3568 ??§ç?¡å?¹å????????????????©å????????度æ????¹å?????

??¶ã?? POSIX ???å­???¯ã?©ã?¹ã?«é??äº?????????????????????????解決???????????°ã????¼ã?¸å?½ã?¨è??è­??????¦ã????¾ã?????


-- 
http://redmine.ruby-lang.org