working on better recognition of regex literals