From: "K.Kosako" Date: 2002-02-25T19:57:05+09:00 Subject: [ruby-dev:16070] Re: Ruby M17N request <20020205045749.0AAA015B@helium.ruby-lang.org>から > > 新regexpでも使いたいので、書けたらcontributeしてくださいませ > > んか? > > はい。完成した時点で、contributeする意味があると思ったらそうします。 ライブラリが完成しました。 添付ファイルにしようかと思ったのですが、 tar+gzipの状態で45KBあるので思いとどまりました。 GNU regex APIほぼ互換正規表現ライブラリです。 欲しい人がいればメールで送ります。 以下、READMEから抜粋しておきます。 + has original native API. (Thread safe? I hope so.) + has modified GNU regex API. - re_compile_fastmap() is removed. (no needs to call) - re_recompile_pattern() is added. - re_alloc_pattern() is added. + octal or hexadecimal number sequence can be treated as multibyte code in char-class[..] (ex. [\xa1\xa2]). + POSIX bracket [:ascii:] is added. (Perl extension ?) -- 小迫@ソフネック 渋谷区恵比寿1-15-1