Name
qr// (Quote Regex)
Synopsis
qr/PATTERN
/ismxo
Quote and compile PATTERN
as a regular
expression. The returned value may be used in a later pattern match
or substitution. This saves time if the regular expression is going
to be repeatedly interpolated. The match modes (or lack of),
/ismxo
, are locked in.
Get Regular Expression Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.