On 4/23/07, Rafael Garcia-Suarez <rgarciasuarez@gmail.com> wrote: > On 22/04/07, demerphq <demerphq@gmail.com> wrote: > > The attached patch changes \v and \V (as requested by Larry a while > > back) to match vertical whitespace (or not), adds support for \h and > > \H to match horizontal whitespace (or not) and adds \R which match > > line endings, (the same as (?>\x0D\x0A|\v) would match). > > > > \R is currently in PCRE 7 and is suggested in the unicode spec under > > http://unicode.org/unicode/reports/tr18/#Line_Boundaries. > > > > \v\V and \h\H are from Perl6. > > Thanks, applied as change 31026. This patch adds the generator script for making regcharclass.h to Porting/ as discussed in #p5p. I've called the generator script regcharclass.pl and documented what it does a bit, and made configuration __DATA__ driven, and added boilerplate etc. If executed with no args it trys to find regcharclass in the current and parent directory. If it finds it then it updates it, otherwise it dies. If executed with args then writes the generated code to a file of that name. Option handling and inline documentation is currently lacking. Ill try to enhance it later on. Also updates MANIFEST to show that regcharclass.h is generated by regcharclass.pl Cheers, Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next