Interfacing with various regex backends made more accurate.