Regex's like this are typically held in constants because, well, they are constant. I considered using methods to contain these, however I don't think that would be a good use for methods. Besides, keeping these as constants is faster than executing a method.