[ci skip][AUTO]: Automated clang-format update: 771de57fc2c1edbaaf3ae94e77f9801b0379cc6c (#10469) (#10472)

Co-authored-by: cocos-robot <cocos-robot@cocos.com>
This commit is contained in:
Cocos Robot
2022-03-24 13:50:39 +08:00
committed by GitHub
parent 7f4cb9e3b1
commit a2df4e4dbd
212 changed files with 1202 additions and 1204 deletions
@@ -61,7 +61,7 @@ static bool JSB_loadFont(se::State &s) {
SE_PRECONDITION2(ok, false, "JSB_loadFont : Error processing argument: source");
ccstd::string fontFilePath;
std::regex re("url\\(\\s*'\\s*(.*?)\\s*'\\s*\\)");
std::regex re("url\\(\\s*'\\s*(.*?)\\s*'\\s*\\)");
std::match_results<ccstd::string::const_iterator> results;
if (std::regex_search(source.cbegin(), source.cend(), results, re)) {
fontFilePath = results[1].str();