summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-09-23 12:16:12 -0600
committerFather Chrysostomos <sprout@cpan.org>2010-09-23 22:24:42 -0700
commit816641584282d213d868a7ba4be00e24f46daa79 (patch)
treeacb79581b86f4ceafd1a8052a45be66dd04bfbc2
parenta9fccb9a1ea701559839cd170507e9810e8702c5 (diff)
downloadperl-816641584282d213d868a7ba4be00e24f46daa79.tar.gz
handy.h: Add isALNUM_L1() macro
This is a synonym for isALNUMU
-rw-r--r--handy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/handy.h b/handy.h
index 7bacab3968..449ec0f8cb 100644
--- a/handy.h
+++ b/handy.h
@@ -524,6 +524,7 @@ patched there. The file as of this writing is cpan/Devel-PPPort/parts/inc/misc
|| NATIVE_TO_UNI((U8) c) == 0xB5 \
|| NATIVE_TO_UNI((U8) c) == 0xBA)))
#define isALNUMU(c) (isDIGIT(c) || isALPHAU(c) || (c) == '_')
+#define isALNUM_L1(c) isALNUMU(c)
/* continuation character for legal NAME in \N{NAME} */
#define isCHARNAME_CONT(c) (isALNUMU(c) || (c) == ' ' || (c) == '-' || (c) == '(' || (c) == ')' || (c) == ':' || NATIVE_TO_UNI((U8) c) == 0xA0)