Function signatures added to avoid compiler warnings
regex-compat replaced by regex-compat-tdfa