Changed frequently used regular expressions to be static and const