Subject: | 5.14 re pragma and PCP::RegularExpressions::RequireDotMatchAnything, ::RequireExtendedFormatting, ::RequireLineBoundaryMatching |
The perl 5.14 "use re" pragma now lets you set default flags for regular
expressions per lexical scope. The following policies should not report
violations when the appropriate flags are applied in this manner.
RegularExpressions::RequireDotMatchAnything,
RegularExpressions::RequireExtendedFormatting
RegularExpressions::RequireLineBoundaryMatching
For bonus points, also honor the Regexp::DefaultFlags module which is
namespace- rather than scope-based.