Skip to content
Snippets Groups Projects
Commit 9376537e authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'fix-regex-regression'


e9557f37 RegularExpression: Fix regression in 'find' method

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !73
parents 1df4bf34 e9557f37
No related branches found
No related tags found
No related merge requests found
......@@ -901,7 +901,7 @@ bool RegularExpression::find(char const* string,
// We know what char it must start with.
while ((s = strchr(s, this->regstart)) != 0) {
if (regFind.regtry(s, rmatch.startp, rmatch.endp, this->program))
return false;
return true;
s++;
}
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment