diff options
author | Karl Williamson <khw@khw-desktop.(none)> | 2010-02-25 14:43:48 -0700 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2010-02-28 10:15:20 -1000 |
commit | b3b85878703a83ab8f906188035b0be144ebdd9e (patch) | |
tree | 408f19b8b37a4809ff857b0e70cd5549b35a851b /pod/perlrecharclass.pod | |
parent | 7b059540b116737402869fbccad6d5c540c7f62e (diff) | |
download | perl-b3b85878703a83ab8f906188035b0be144ebdd9e.tar.gz |
Mark \N meaning [^\n] as experimental
Diffstat (limited to 'pod/perlrecharclass.pod')
-rw-r--r-- | pod/perlrecharclass.pod | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pod/perlrecharclass.pod b/pod/perlrecharclass.pod index ae44f84a82..140d8ea3a5 100644 --- a/pod/perlrecharclass.pod +++ b/pod/perlrecharclass.pod @@ -58,7 +58,7 @@ more detail below. \S Match a non-white space character. \h Match a horizontal white space character. \H Match a character that isn't horizontal white space. - \N Match a character that isn't newline. + \N Match a character that isn't newline. Experimental. \v Match a vertical white space character. \V Match a character that isn't vertical white space. \pP, \p{Prop} Match a character matching a Unicode property. @@ -113,15 +113,15 @@ C<\h> will match any character that is considered horizontal white space; this includes the space and the tab characters. C<\H> will match any character that is not considered horizontal white space. -C<\N>, like the dot, will match any character that is not a newline. The -difference is that C<\N> will not be influenced by the single line C</s> -regular expression modifier. (Note that, since C<\N{}> is also used for -named characters, if C<\N> is followed by an opening brace and something that -is not a quantifier, perl will assume that a character name is coming. For -example, C<\N{3}> means to match 3 non-newlines; C<\N{5,}> means to match 5 or -more non-newlines, but C<\N{4F}> is not a legal quantifier, and will cause -perl to look for a character named C<4F> (and won't find one unless custom names -have been defined that include it.) +C<\N> is an experimental feature. It, like the dot, will match any character +that is not a newline. The difference is that C<\N> will not be influenced by +the single line C</s> regular expression modifier. (Note that, since C<\N{}> is +also used for named characters, if C<\N> is followed by an opening brace and +something that is not a quantifier, perl will assume that a character name is +coming. For example, C<\N{3}> means to match 3 non-newlines; C<\N{5,}> means +to match 5 or more non-newlines, but C<\N{4F}> is not a legal quantifier, and +will cause perl to look for a character named C<4F> (and won't find one unless +custom names have been defined that include it.) C<\v> will match any character that is considered vertical white space; this includes the carriage return and line feed characters (newline). |