mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
bac10487f1
Reported by: linimon
20 lines
395 B
Ruby
20 lines
395 B
Ruby
--- migemo.rb.in.orig 2003-05-28 21:00:52.000000000 +0900
|
|
+++ migemo.rb.in 2011-08-22 02:23:18.000000000 +0900
|
|
@@ -14,7 +14,6 @@
|
|
require 'migemo-dict'
|
|
require 'migemo-regex'
|
|
require 'romkan'
|
|
-require 'jcode'
|
|
include MigemoRegex
|
|
|
|
class String
|
|
@@ -24,7 +23,7 @@
|
|
end
|
|
|
|
def quotemeta
|
|
- self.gsub(/([^ \w])/, '\\\\\\1')
|
|
+ self.gsub(/([[:punct:]])/, '\\\\\\1')
|
|
end
|
|
|
|
def first
|