• Don't quote rhs of =~, it'll match literally rather than as a regex.
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions:
  • Compatibility: