You might find that putting a /x on short regular expressions to be excessive. An exception can be made for them by setting minimum_regex_length_to_complain_about to the minimum match length you'll allow without a /x. The length only counts the regular expression, not the braces or operators.

Because using /x on a regex which has whitespace in it can make it harder to read (you have to escape all that innocent whitespace), by default, you can have a regular expression that only contains whitespace and word characters without the modifier. If you want to restrict this, turn on the strict option.

For common regular expressions like e-mail addresses, phone numbers, dates, etc., have a look at the Regexp::Common module. Also, be cautions about slapping modifier flags onto existing regular expressions, as they can drastically alter their meaning. See http://www.perlmonks.org/?node_id=484238 for an interesting discussion on the effects of blindly modifying regular expression flags.