(/^[0-9A-F]+\.\./): Fix regex for matching.
authorhanda <handa>
Sun, 10 Jun 2007 09:01:24 +0000 (09:01 +0000)
committerhanda <handa>
Sun, 10 Jun 2007 09:01:24 +0000 (09:01 +0000)
SCRIPT.awk

index ce85552..66ec768 100644 (file)
@@ -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;
 }