remove some no-op end of string tests from regex parser