changed cystine pattern to be more accurate. precompile regexes