Parsing RegExp literals