fix: use regex functor to avoid deep nesting of binary OR functors.
The OR
of all lines was creating a very deeply nested functor of binary OR
functors.
Thanks to @apearce for the suggested fix, we now use a regex functor to do the same stuff and no longer get any crashes from clang warning about large bracket depth in c++ code.
Edited by Christoph Hasse