MCPcopy Create free account
hub / github.com/ablab/spades / isValid

Method isValid

ext/src/llvm/Regex.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67} // namespace
68
69bool Regex::isValid(std::string &Error) const {
70 if (!error)
71 return true;
72
73 RegexErrorToString(error, preg, Error);
74 return false;
75}
76
77/// getNumMatches - In a valid regex, return the number of parenthesized
78/// matches it contains.

Callers 3

GetMessageMethod · 0.45
PrintMessageMethod · 0.45
SMFixItMethod · 0.45

Calls 1

RegexErrorToStringFunction · 0.85

Tested by

no test coverage detected