shithub: mc

Download patch

ref: 6e23df6c7a12011693b61bb5bb86a0a279667d22
parent: 06751256b59bce18a2c12b1430743ce2d19d6b15
author: Ori Bernstein <[email protected]>
date: Thu Jan 30 06:28:32 EST 2014

Updated the list of unicode character ranges.

--- a/doc/myr-regex.3
+++ b/doc/myr-regex.3
@@ -58,6 +58,7 @@
     baseexpr    : literal
                 | charclass
                 | charrange
+                | escaped
                 | '.'
                 | '^'
                 | '$'
@@ -122,13 +123,37 @@
 \\H
 Negation of ASCII whitespace characters
 .TP
-\\pX
+\\pX, \\p{X}
 Characters with unicode property 'X'
 .TP
-\\PX
+\\PX, \\P{X}
+Negation of characters with unicode property 'X'
+
 .PP
-Negation of characters with unicode property 'X'. The only properties that
-are currently supported are 'Z' (space), 'L' (letter).
+Unicode properties that are supported are listed below:
+
+.TP
+L, Letter
+Unicode letter property
+.TP
+Lu, Uppercase_Letter
+Uppercase letter unicode property
+.TP
+Ll, Lowercase_Letter
+Lowercase letter unicode property
+.TP
+Lt, Titlecase_Letter
+Titlecase letter unicode property
+.TP
+N, Number
+Number unicode property
+.TP
+Z, Separator
+Any separator character unicode property
+.TP
+Zs, Space_Separator
+Space separator unicode property
+
 
 .SH EXAMPLE
 .EX