From 416d1fc2ad622a7c118d36bf4472a274683d2490 Mon Sep 17 00:00:00 2001 From: Tom Lord Date: Wed, 4 Mar 2015 11:16:48 +0000 Subject: [PATCH] Mention support for /\P{name}/.examples --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2be189a..24f2fe9 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,8 @@ Or install it yourself as: * Escape sequences, e.g. `/\x42/`, `/\x5word/`, `/#{"\x80".force_encoding("ASCII-8BIT")}/` * Unicode characters, e.g. `/\u0123/`, `/\uabcd/`, `/\u{789}/` * Octal characters, e.g. `/\10/`, `/\177/` -* Named properties, e.g. `/\p{L}/` ("Letter"), `/\p{Arabic}/` ("Arabic character"), `/\p{^Ll}/` ("Not a lowercase letter") +* Named properties, e.g. `/\p{L}/` ("Letter"), `/\p{Arabic}/` ("Arabic character") +, `/\p{^Ll}/` ("Not a lowercase letter"), `\P{^Canadian_Aboriginal}` ("Not not a Canadian aboriginal character") * **Arbitrarily complex combinations of all the above!** * Regexp options can also be used: