This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlre: Note a way to continue long regexes across lines
authorKarl Williamson <khw@cpan.org>
Wed, 27 Dec 2017 01:00:57 +0000 (18:00 -0700)
committerKarl Williamson <khw@cpan.org>
Sat, 30 Dec 2017 05:45:14 +0000 (22:45 -0700)
commite4a1c03b404bbc7ac974607ebb4969bae512b0b2
tree6f18c472074acf56e98bb42bda3f1366de6f8e33
parent483ff77a0144607e2819806f63bec051eed3efb8
perlre: Note a way to continue long regexes across lines

This documents a usage to include \n chars within (?#\n) to easily
break long patterns into smaller chunks that fit on a line.  I was not
familiar with this technique until I saw it used, in some of our core
code, so am documenting it for others.
pod/perlre.pod