summaryrefslogtreecommitdiff
path: root/testdata/testinput5
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-10-02 15:25:58 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-10-02 15:25:58 +0000
commit3899f6557728000c2cfd428cddc597e377baddc2 (patch)
treeaaa05107db98463f3a50a7ca6d3eb9f83a985f3d /testdata/testinput5
parentaf1cda3afb77f3e43c3c8069bd3b784abbcc2036 (diff)
downloadpcre2-3899f6557728000c2cfd428cddc597e377baddc2.tar.gz
Basic "script run" implementation. Not yet complete, and not yet documented.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1019 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testinput5')
-rw-r--r--testdata/testinput523
1 files changed, 23 insertions, 0 deletions
diff --git a/testdata/testinput5 b/testdata/testinput5
index 687de32..9730e0b 100644
--- a/testdata/testinput5
+++ b/testdata/testinput5
@@ -2106,5 +2106,28 @@
/(*: A‎B
C)abc/x,utf,mark,alt_verbnames
abc
+
+# Script run tests: auto-possessification
+
+/^(*sr:.*)/B,utf
+ paypаl.com A classic example of why script run checks are a good thing
+
+/^(*sr:\x{2e80}*)/B,utf
+
+/^(*sr:\x{2e80}*)\x{2e80}/B,utf
+
+# Some script run patterns are broken in Perl 5.28.0. These can be moved into
+# test 4 when a mended version of Perl is released.
+
+/^(*sr:.{4})/utf
+ \x{0980}12\x{0993} Bengali Common-digits Bengali
+ \x{0780}12\x{07b1} Thaana Common-digits Thaana
+ \x{0e01}12\x{0e5b} Thai Common-digits Thai
+ \x{1780}12\x{19ff} Khmer Common-digits Khmer
+ \x{0904}12\x{0939} Devanagari Common-digits Devanagari
+ A\x{ff10}\x{ff19}B Latin Common-notascii-digits Latin
+ A\x{1d7ce}\x{1d7cf}B Latin fancy-common-digits Latin
+
+# -------
# End of testinput5