Use constants for patterns