Closed kapacuk closed 8 months ago
Line 222 in include/ctre/evaluation.hpp is unreachable, the if statement on line 206 returns from both branches:
if
if (multiline_mode(f)) { if (last == current) { return evaluate(begin, current, last, f, captures, ctll::list<Tail...>()); } else if (*current == '\n') { return evaluate(begin, current, last, f, captures, ctll::list<Tail...>()); } else { return not_matched; } } else { if (last != current) { return not_matched; } return evaluate(begin, current, last, f, captures, ctll::list<Tail...>()); }
Thanks! Good catch!
Line 222 in include/ctre/evaluation.hpp is unreachable, the
if
statement on line 206 returns from both branches: