line |
true |
false |
branch |
123
|
0 |
0 |
if (_M_states._M_match_queue.empty()) |
125
|
0 |
0 |
std::fill_n(_M_states._M_visited_states.get(), _M_nfa.size(), false); |
127
|
0 |
0 |
for (auto& __task : __old_queue) |
130
|
0 |
0 |
_M_dfs(__match_mode, __task.first); |
132
|
0 |
0 |
if (__match_mode == _Match_mode::_Prefix) |
134
|
0 |
0 |
if (_M_current == _M_end) |
136
|
0 |
0 |
++_M_current; |
138
|
0 |
0 |
if (__match_mode == _Match_mode::_Exact) |
153
|
0 |
0 |
_ResultsVec __what(_M_cur_results); |
|
0 |
0 |
_ResultsVec __what(_M_cur_results); |
154
|
0 |
0 |
_Executor __sub(_M_current, _M_end, __what, _M_re, _M_flags); |
|
0 |
0 |
_Executor __sub(_M_current, _M_end, __what, _M_re, _M_flags); |
156
|
0 |
0 |
if (__sub._M_search_from_first()) |
|
0 |
0 |
if (__sub._M_search_from_first()) |
|
0 |
0 |
if (__sub._M_search_from_first()) |
|
0 |
0 |
if (__sub._M_search_from_first()) |
158
|
0 |
0 |
for (size_t __i = 0; __i < __what.size(); __i++) |
|
0 |
0 |
for (size_t __i = 0; __i < __what.size(); __i++) |
159
|
0 |
0 |
if (__what[__i].matched) |
|
0 |
0 |
if (__what[__i].matched) |
160
|
0 |
0 |
_M_cur_results[__i] = __what[__i]; |
|
0 |
0 |
_M_cur_results[__i] = __what[__i]; |
179
|
0 |
0 |
if (__rep_count.second == 0 || __rep_count.first != _M_current) |
|
0 |
0 |
if (__rep_count.second == 0 || __rep_count.first != _M_current) |
|
0 |
0 |
if (__rep_count.second == 0 || __rep_count.first != _M_current) |
|
0 |
0 |
if (__rep_count.second == 0 || __rep_count.first != _M_current) |
184
|
0 |
0 |
_M_dfs(__match_mode, __state._M_alt); |
|
0 |
0 |
_M_dfs(__match_mode, __state._M_alt); |
189
|
0 |
0 |
if (__rep_count.second < 2) |
|
0 |
0 |
if (__rep_count.second < 2) |
203
|
0 |
0 |
if (_M_states._M_visited(__i)) |
|
0 |
0 |
if (_M_states._M_visited(__i)) |
218
|
0 |
0 |
if (!__state._M_neg) |
|
0 |
0 |
if (!__state._M_neg) |
222
|
0 |
0 |
if (!__dfs_mode || !_M_has_sol) |
231
|
0 |
0 |
if (!_M_has_sol) |
239
|
0 |
0 |
if (!_M_has_sol) |
245
|
0 |
0 |
if (!_M_has_sol) |
257
|
0 |
0 |
_M_dfs(__match_mode, __state._M_next); |
|
0 |
0 |
_M_dfs(__match_mode, __state._M_next); |
267
|
0 |
0 |
_M_dfs(__match_mode, __state._M_next); |
|
0 |
0 |
_M_dfs(__match_mode, __state._M_next); |
268
|
0 |
0 |
__res = __back; |
|
0 |
0 |
__res = __back; |
272
|
0 |
0 |
if (_M_at_begin()) |
|
0 |
0 |
if (_M_at_begin()) |
276
|
0 |
0 |
if (_M_at_end()) |
|
0 |
0 |
if (_M_at_end()) |
280
|
0 |
0 |
if (_M_word_boundary() == !__state._M_neg) |
|
0 |
0 |
if (_M_word_boundary() == !__state._M_neg) |
286
|
0 |
0 |
if (_M_lookahead(__state) == !__state._M_neg) |
|
0 |
0 |
if (_M_lookahead(__state) == !__state._M_neg) |
|
0 |
0 |
if (_M_lookahead(__state) == !__state._M_neg) |
|
0 |
0 |
if (_M_lookahead(__state) == !__state._M_neg) |
290
|
0 |
0 |
if (_M_current == _M_end) |
|
0 |
0 |
if (_M_current == _M_end) |
294
|
0 |
0 |
if (__state._M_matches(*_M_current)) |
302
|
0 |
0 |
if (__state._M_matches(*_M_current)) |
316
|
0 |
0 |
for (auto __tmp = __submatch.first; |
|
0 |
0 |
for (auto __tmp = __submatch.first; |
320
|
0 |
0 |
if (_M_re._M_automaton->_M_traits.transform(__submatch.first, |
|
0 |
0 |
if (_M_re._M_automaton->_M_traits.transform(__submatch.first, |
322
|
0 |
0 |
== _M_re._M_automaton->_M_traits.transform(_M_current, __last)) |
|
0 |
0 |
== _M_re._M_automaton->_M_traits.transform(_M_current, __last)) |
|
0 |
0 |
== _M_re._M_automaton->_M_traits.transform(_M_current, __last)) |
|
0 |
0 |
== _M_re._M_automaton->_M_traits.transform(_M_current, __last)) |
324
|
0 |
0 |
if (__last != _M_current) |
|
0 |
0 |
if (__last != _M_current) |
328
|
0 |
0 |
_M_dfs(__match_mode, __state._M_next); |
|
0 |
0 |
_M_dfs(__match_mode, __state._M_next); |
332
|
0 |
0 |
_M_dfs(__match_mode, __state._M_next); |
|
0 |
0 |
_M_dfs(__match_mode, __state._M_next); |
340
|
0 |
0 |
if (__match_mode == _Match_mode::_Exact) |
344
|
0 |
0 |
if (_M_current == _M_begin |
347
|
0 |
0 |
if (_M_has_sol) |
349
|
0 |
0 |
if (_M_nfa._M_flags & regex_constants::ECMAScript) |
361
|
0 |
0 |
if (*_M_states._M_get_sol_pos() == _BiIter() |
|
0 |
0 |
if (*_M_states._M_get_sol_pos() == _BiIter() |
|
0 |
0 |
if (*_M_states._M_get_sol_pos() == _BiIter() |
|
0 |
0 |
if (*_M_states._M_get_sol_pos() == _BiIter() |
|
0 |
0 |
if (*_M_states._M_get_sol_pos() == _BiIter() |
362
|
0 |
0 |
|| std::distance(_M_begin, |
364
|
0 |
0 |
< std::distance(_M_begin, _M_current)) |
374
|
0 |
0 |
if (_M_current == _M_begin |
377
|
0 |
0 |
if (__match_mode == _Match_mode::_Prefix || _M_current == _M_end) |
|
0 |
0 |
if (__match_mode == _Match_mode::_Prefix || _M_current == _M_end) |
|
0 |
0 |
if (__match_mode == _Match_mode::_Prefix || _M_current == _M_end) |
378
|
0 |
0 |
if (!_M_has_sol) |
386
|
0 |
0 |
if (_M_nfa._M_flags & regex_constants::ECMAScript) |
|
0 |
0 |
if (_M_nfa._M_flags & regex_constants::ECMAScript) |
418
|
0 |
0 |
if (_M_current != _M_begin |
|
0 |
0 |
if (_M_current != _M_begin |
422
|
0 |
0 |
if (_M_is_word(*std::prev(__prev))) |
|
0 |
0 |
if (_M_is_word(*std::prev(__prev))) |
|
0 |
0 |
if (_M_is_word(*std::prev(__prev))) |
|
0 |
0 |
if (_M_is_word(*std::prev(__prev))) |
|
0 |
0 |
if (_M_is_word(*std::prev(__prev))) |
|
0 |
0 |
if (_M_is_word(*std::prev(__prev))) |
426
|
0 |
0 |
_M_current != _M_end && _M_is_word(*_M_current); |
|
0 |
0 |
_M_current != _M_end && _M_is_word(*_M_current); |
|
0 |
0 |
_M_current != _M_end && _M_is_word(*_M_current); |
|
0 |
0 |
_M_current != _M_end && _M_is_word(*_M_current); |
428
|
0 |
0 |
if (__left_is_word == __right_is_word) |
|
0 |
0 |
if (__left_is_word == __right_is_word) |
430
|
0 |
0 |
if (__left_is_word && !(_M_flags & regex_constants::match_not_eow)) |
|
0 |
0 |
if (__left_is_word && !(_M_flags & regex_constants::match_not_eow)) |
|
0 |
0 |
if (__left_is_word && !(_M_flags & regex_constants::match_not_eow)) |
|
0 |
0 |
if (__left_is_word && !(_M_flags & regex_constants::match_not_eow)) |
|
0 |
0 |
if (__left_is_word && !(_M_flags & regex_constants::match_not_eow)) |
|
0 |
0 |
if (__left_is_word && !(_M_flags & regex_constants::match_not_eow)) |
432
|
0 |
0 |
if (__right_is_word && !(_M_flags & regex_constants::match_not_bow)) |
|
0 |
0 |
if (__right_is_word && !(_M_flags & regex_constants::match_not_bow)) |
|
0 |
0 |
if (__right_is_word && !(_M_flags & regex_constants::match_not_bow)) |
|
0 |
0 |
if (__right_is_word && !(_M_flags & regex_constants::match_not_bow)) |
|
0 |
0 |
if (__right_is_word && !(_M_flags & regex_constants::match_not_bow)) |
|
0 |
0 |
if (__right_is_word && !(_M_flags & regex_constants::match_not_bow)) |