summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2023-09-05 12:09:05 -0700
committerArnold D. Robbins <arnold@skeeve.com>2023-09-05 12:09:05 -0700
commit66353df2d2db4732ea2e1eb0fc97dd4150c38394 (patch)
tree3dad0f3a12541239d071b1d279b21bbcfb8d3070
parent9e6741eaca7525baefd48803b6cbbea6ea2b9f5b (diff)
parent9f73275518f0bb239830b3bdc7233ac10450af26 (diff)
downloadgawk-66353df2d2db4732ea2e1eb0fc97dd4150c38394.tar.gz
Merge branch 'master' into feature/improve-inet
-rw-r--r--test/ChangeLog5
-rwxr-xr-xtest/mtchi18n2.awk4
2 files changed, 7 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 0d30699..6fcd5f6 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2023-09-05 Arnold D. Robbins <arnold@skeeve.com>
+
+ * mtchi18n2.awk: Change to use \u in the regexp instead of
+ octal escapes.
+
2023-09-01 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am (EXTRA_DIST): New test, mtchi18n2.
diff --git a/test/mtchi18n2.awk b/test/mtchi18n2.awk
index 7043386..d8cde1e 100755
--- a/test/mtchi18n2.awk
+++ b/test/mtchi18n2.awk
@@ -2,8 +2,8 @@ BEGIN {
match("\342\200\257", /^/, m)
print RSTART, RLENGTH
- #match("\342\200\257", /^(a?)\u202F(b?)$/, m)
- match("\342\200\257", /^(a?)\342\200\257(b?)$/, m)
+ match("\342\200\257", /^(a?)\u202F(b?)$/, m)
+ #match("\342\200\257", /^(a?)\342\200\257(b?)$/, m)
print RSTART, RLENGTH, m[1,"start"], m[1,"length"], m[2, "start"], m[2, "length"]
match("\342\200\257", /$/, m)