more tweaks to regex-literal identification rules