MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / MatchRepetitionAndRegexAtHead

Function MatchRepetitionAndRegexAtHead

src/gtest/gtest-all.cpp:8096–8118  ·  view source on GitHub ↗

Matches a repeated regex atom followed by a valid simple regular expression. The regex atom is defined as c if escaped is false, or \c otherwise. repeat is the repetition meta character (?, *, or +). The behavior is undefined if str contains too many characters to be indexable by size_t, in which case the test will probably time out anyway. We are fine with this limitation as std::string has i

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MatchRegexAtHeadFunction · 0.85

Calls 2

MatchRegexAtHeadFunction · 0.85
AtomMatchesCharFunction · 0.85

Tested by

no test coverage detected