remove some no-op end of string tests from regex parser
these are cruft from the original code which used an explicit string length rather than null termination. i blindly converted all the checks to null terminator checks, without noticing that in several cases, the subsequent switch statement would automatically handle the null byte correctly.
Showing
想要评论请 注册 或 登录