Guidelines for regular expressions