From 2d99616ec8513ce83fd3d626caa80d948862f95b Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 22 Aug 2006 03:41:46 +0000 Subject: * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): fix regexp for euc-jp [ruby-dev:29344] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/nkf/lib/kconv.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/nkf/lib') diff --git a/ext/nkf/lib/kconv.rb b/ext/nkf/lib/kconv.rb index 091b88b1c0..a15446d550 100644 --- a/ext/nkf/lib/kconv.rb +++ b/ext/nkf/lib/kconv.rb @@ -63,8 +63,8 @@ module Kconv RegexpEucjp = /\A(?: [\x00-\x7f] | \x8e [\xa1-\xdf] | - \x8f [\xa1-\xdf] [\xa1-\xfe] | - [\xa1-\xdf] [\xa1-\xfe] + \x8f [\xa1-\xfe] [\xa1-\xfe] | + [\xa1-\xfe] [\xa1-\xfe] )*\z/nx # Regexp of UTF-8 string (private constant) -- cgit v1.2.1