[PATCH] D115168: [clang-format] [PR49298] Sort includes pass will sort inside raw strings

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 10 06:15:15 PST 2021


HazardyKnusperkeks added a comment.

In D115168#3185199 <https://reviews.llvm.org/D115168#3185199>, @MyDeveloperDay wrote:

> Add support for | but still can't get [] to work in the regex (checked the unit tests for Support/Regex and its not clear if its supported)

How about `"R\"(([A-Za-z0-9_{}#<>%:;.?*+/^&\\$|~!=,'\\-]|]|\[)*)\\("`, not putting the [] symbols within the [].

Does it work with std::regex which should also be available?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115168/new/

https://reviews.llvm.org/D115168



More information about the cfe-commits mailing list