labath added a comment. That regex is relatively simple. If we're worried about performance, maybe we should just roll it out into a series of find_first_(not_)of/consume_front/... statements Repository: rL LLVM https://reviews.llvm.org/D43892