fix wrong way grep_text finding whether match or not #96

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

menghan commented Oct 22, 2012

Normally, regexec() returns 0 for success and the non-zero code REG_NOMATCH for failure.
so it should be '!result' instead of 'result != REG_NOMATCH'

menghan added some commits Oct 22, 2012

@menghan menghan fix wrong way grep_text finding whether match or not
Normally, regexec() returns 0 for success and the non-zero code REG_NOMATCH for failure.
so it should be '!result' instead of 'result != REG_NOMATCH'
f0b93d9
@menghan menghan fix another regexec's bug f71745f
Owner

jonas commented May 23, 2013

Thanks for the improvement.

I ended up squashing the two commits together and rephrasing the commit message a bit.
7fb8d07

jonas closed this May 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment