Fix an issue related to RegExp literals