The regexp parser from regexp.erl in pre-R15 was broken out into regexp_parse.erl, and lex.erl now calls this module instead.