Incorporated runrevmark's feedback on case (in)sensitive regular expression matching