summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-02-09 21:41:34 -0700
committerKarl Williamson <public@khwilliamson.com>2011-02-14 08:41:39 -0700
commita33c29bcc3e80d893a599165c1ee5ad27029365e (patch)
tree9f897a578127abff68ccb2e7f6f9804bbeef0685 /utf8.h
parentb4ab316d85c094dba83e3c8da3442823a043f6bc (diff)
downloadperl-a33c29bcc3e80d893a599165c1ee5ad27029365e.tar.gz
foldEQ_utf8_flags: Add no-mixing ASCII option
If this option is set, any match that has a non-ASCII character that has an ASCII character in its fold will not match that fold.
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index 2386eb6148..e0dee68999 100644
--- a/utf8.h
+++ b/utf8.h
@@ -22,6 +22,8 @@
#define foldEQ_utf8(s1, pe1, l1, u1, s2, pe2, l2, u2) \
foldEQ_utf8_flags(s1, pe1, l1, u1, s2, pe2, l2, u2, 0)
+#define FOLDEQ_UTF8_NOMIX_ASCII (1 << 0)
+
/*
=for apidoc ibcmp_utf8