Compile Regex only once.