summaryrefslogtreecommitdiff
path: root/pod/perlrecharclass.pod
Commit message (Collapse)AuthorAgeFilesLines
* Nits in re podsKarl Williamson2010-10-311-1/+1
|
* DOCs: Clarify that \w matches marks and \PcKarl Williamson2010-10-311-3/+8
| | | | | | The previous documentation really didn't specify what \w is. It matches the underscore, but also all other connector punctuation, plus any marks, such as diacritical accents that occur within a word.
* Add consistent synonyms for \p{PosxFOO}Karl Williamson2010-10-311-27/+37
| | | | | | | | | | This patch adds a set of synonyms \p{XPosixFOO} for the full extended Unicode version of \p{PosixFOO}, so only one rule need be remembered. Similarly, \p{XPerlSpace} is added to preserve the rule for the one similar class that doesn't have Posix in its name. Prior to this patch there was no exact equivalent to \p{PosixPunct} extended beyond ASCII.
* Revert "Add consistent synonyms for \p{PosxFOO}"Father Chrysostomos2010-10-311-30/+22
| | | | This reverts commit d5944336d74c819152158dabfd806d49ad0ecb21.
* Add consistent synonyms for \p{PosxFOO}Karl Williamson2010-10-311-22/+30
| | | | | | | This patch adds a set of synonyms \p{XPosixFOO} for the full extended Unicode version of \p{PosixFOO}, so only one rule need be remembered. Similarly, \p{XPerlSpace} is added to preserve the rule for the one similar class that doesn't have Posix in its name.
* perlrecharclass: NitsKarl Williamson2010-10-311-2/+3
|
* Subject: [perl #58182] partial: Add uni \s,\w matchingKarl Williamson2010-10-151-1/+7
| | | | | | | | | | | | | | | | | | | This commit causes regex sequences \b, \s, and \w (and complements) to match in the latin1 range in the scope of feature 'unicode_strings' or with the /u regex modifier. It uses the previously unused flags field in the respective regnodes to indicate the type of matching, and in regexec.c, uses that to decide which of the handy.h macros to use, native or Latin1. I chose this for now rather than create new nodes for each type of match. An earlier version of this patch did that, and in every case the switch case: statements were adjacent, offering no performance advantage. If regexec were modified to use in-line functions or more macros for various short section of it, then it would be faster to have new nodes rather than using the flags field. But, using that field simplified things, as this change flies under the radar in a number of places where it would not if separate nodes were used.
* perlrecharclass.pod: Add caveat about multi-char sequencesKarl Williamson2010-09-251-2/+4
| | | | | | | Inside a bracketed character class, any \N{name} which expands to more than one character will have only the first one considered. This doesn't need named character sequences, as user-defined aliases have long been able to be multi-char.
* perlrecharclass: Document subtlety in UnicodeKarl Williamson2010-08-111-48/+53
| | | | | The documentation had failed to mention that a regex pattern in utf8 encoding forces a Unicode interpretation on a non-utf8 string.
* perlrecharclass: Fix typoKarl Williamson2010-08-111-2/+2
|
* perlrecharclass: Clarify \p{Punct}, fix for 80 colKarl Williamson2010-05-081-9/+13
| | | | | While not strictly wrong, the hre was missing info for what \p{Punct} does.
* Edits to perlrecharclass.podKarl Williamson2010-04-261-98/+143
| | | | | | A number of clarification and wording edits have been made, fixing some broken links, and details especially on \d in the Unicode range. Fixed an incorrect character ordinal
* A few editsKarl Williamson2010-03-281-46/+50
| | | | | Rewording to clarify a few paragraphs; make table fit in 80 column terminal; remove extra word; other slight edits
* Bring up to date for 5.12; including POSIXKarl Williamson2010-03-281-161/+244
| | | | | | The regex documentation included changes that were put temporarily into a 5.11 release, but not into 5.12. And there were a number of omissions. I went through this pod and tried to make it reflect reality.
* Mark \N meaning [^\n] as experimentalKarl Williamson2010-02-281-10/+10
|
* Document \N{U+...}Karl Williamson2010-02-281-7/+8
|
* Update pods for \N changesKarl Williamson2010-02-281-9/+34
|
* Update .podsKarl Williamson2009-12-251-10/+16
| | | | Signed-off-by: Abigail <abigail@abigail.be>
* Basic docs for \NRafael Garcia-Suarez2009-06-171-2/+8
|
* Remove remaining POD tags in verbatim paragraphsVincent Pit2009-05-141-4/+4
|
* fix POD typoFrank Wiegand2009-05-021-1/+1
| | | | Signed-off-by: Abigail <abigail@abigail.be>
* Doc nits -- avoid bare "5.10" version numbers without aRafael Garcia-Suarez2007-11-271-1/+1
| | | | | third component. (Suggested by Jarkko) p4raw-id: //depot/perl@32523
* Two new manpages, by AbigailRafael Garcia-Suarez2007-04-301-0/+525
p4raw-id: //depot/perl@31110