2008-08-15から1日間の記事一覧
# # 正規表現キャッシュクラス # class PatternCache @@regexCache = Hash.new # # イニシャライザ # def initialize end # # コンパイル済み正規表現を取得する # @param [String] regex 正規表現 # @return [Regexp] コンパイル済み正規表現 # def self.ge…
# # 正規表現キャッシュクラス # class PatternCache @@regexCache = Hash.new # # イニシャライザ # def initialize end # # コンパイル済み正規表現を取得する # @param [String] regex 正規表現 # @return [Regexp] コンパイル済み正規表現 # def self.ge…