summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/it.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/it.t b/test/it.t
index 34279ce..360c792 100755
--- a/test/it.t
+++ b/test/it.t
@@ -270,6 +270,12 @@ _match(
['all' => 1, 'pattern_order' => 1]
);
+_match(
+ preg_quote('a/b!c(d\\e'), 'faa/b!c(d\\ear',
+ 'a/b!c(d\\e',
+ 'match with preg_quote of special characters in pattern'
+);
+
ini_set('default_charset', 'iso-8859-1');
_match(
'aöBÜ', "AÖbü",