summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2023-09-05 12:08:29 -0700
committerArnold D. Robbins <arnold@skeeve.com>2023-09-05 12:08:29 -0700
commite3c0ae8ec43f38d7ac48f19dfa12b78517b1740b (patch)
tree4358a578a8f6b006a00d5be3bb0e51e22299fcf6
parent380a63d656d9ae3c8b91fcf63ef7d50a9ce7fe38 (diff)
parent9f73275518f0bb239830b3bdc7233ac10450af26 (diff)
downloadgawk-e3c0ae8ec43f38d7ac48f19dfa12b78517b1740b.tar.gz
Merge branch 'master' into porting
-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)