From: handa Date: Sun, 10 Jun 2007 09:01:24 +0000 (+0000) Subject: (/^[0-9A-F]+\.\./): Fix regex for matching. X-Git-Tag: REL-1-4-0~44 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0114f89b8218b84b3f0ff09573457e7eb0c285d6;p=m17n%2Fm17n-db.git (/^[0-9A-F]+\.\./): Fix regex for matching. --- diff --git a/SCRIPT.awk b/SCRIPT.awk index ce85552..66ec768 100644 --- a/SCRIPT.awk +++ b/SCRIPT.awk @@ -122,7 +122,7 @@ function maybe_emit(ch1, ch2, this_script) { } /^[0-9A-F]+\.\./ { - maybe_emit(decode_hex($0, 1), decode_hex($0, match($0, "\.\.") + 2), $2); + maybe_emit(decode_hex($0, 1), decode_hex($0, match($0, "\\.\\.") + 2), $2); next; }