D | match_multiline.pass.cpp | 1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 //===----------------------------------------------------------------------===// 23 const char* target, bool expected) in search() argument 27 assert(std::regex_search(target, m, re) == expected); in search() 52 const char* target = "foo"; in main() local 54 search(pat, ECMAScript, target, true); in main() 55 search(pat, basic, target, true); in main() 56 search(pat, extended, target, true); in main() [all …]
|