diff options
| author | Arnold D. Robbins <arnold@skeeve.com> | 2023-09-05 12:07:46 -0700 |
|---|---|---|
| committer | Arnold D. Robbins <arnold@skeeve.com> | 2023-09-05 12:07:46 -0700 |
| commit | 9f73275518f0bb239830b3bdc7233ac10450af26 (patch) | |
| tree | 4358a578a8f6b006a00d5be3bb0e51e22299fcf6 | |
| parent | 2b09956d8f7e7bb7787e89bfd1de4104d2de7ac8 (diff) | |
| download | gawk-9f73275518f0bb239830b3bdc7233ac10450af26.tar.gz | |
Small improvement to test/mtchi18n2.awk.
| -rw-r--r-- | test/ChangeLog | 5 | ||||
| -rwxr-xr-x | test/mtchi18n2.awk | 4 |
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) |
