remove some no-op end of string tests from regex parser
authorRich Felker <dalias@aerifal.cx>
Sun, 13 May 2012 21:20:01 +0000 (17:20 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 13 May 2012 21:20:01 +0000 (17:20 -0400)
commit13b2945a3c3de7c309ca2e44ab4cf76236ff1fdb
tree40335f19a6bed76ff5e51544e75ae37ecfde5992
parente9cddc8e32b34f17c84d02fb52c11dfa4a3927f7
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.
src/regex/regcomp.c