starts_with now accepts regex, other fixes