???????? ????????????

In message "[ruby-list:25835] ???p?J?i????"
    on 00/11/07, Katsuya Tanaka <tanaka / esd.spr.epson.co.jp> writes:

|cgi ???v???O???????A???p?J?i???S?p?J?i?????????????????????A
|
|ruby ??
|>ruby -v
|ruby 1.6.1 (2000-09-27) [i386-freebsdelf3.5.1]
|?????B

????jcode???o?O?????????????B?p?b?`???Y?t???????B

???????A?????C?????s?????????????u?A?B?C?D?E?v?????B
???p?J?i???S?p?J?i?????????????????????????B

????kconv???g??????

  print NKF.nkf("-Ss", "?"), "\n";

???????????????????B

--- lib/jcode.rb	2000/09/25 17:51:29	1.11
+++ lib/jcode.rb	2000/11/07 08:59:08
@@ -7,4 +7,4 @@
   def _regex_quote(str)
-    str.gsub(/\W/){|s|
-      if s == "-" then s elsif s == "\\" then "\\\\" else "\\\\#{s}" end
+    str.gsub(/[][.\\|*?+{}()]/n){|s|
+      if s == "\\" then "\\\\" else "\\\\#{s}" end
     }