Issue warning on regular expressions containing .*