The qr//
operator allows you to compile a regular expression without applying it to anything. You get the pattern without the match, and you can reuse the pattern as often as you like. Before v5.30, it had an inconsistency with \N{}
sequences, but that’s fixed now.
Continue reading “Perl 5.30 fixes single quoted qr” with \N{}”