Home | History | Annotate | Download | only in pcre

Lines Matching refs:pcrecpp

43 #include "pcrecpp.h"
45 using pcrecpp::StringPiece;
46 using pcrecpp::RE;
47 using pcrecpp::RE_Options;
48 using pcrecpp::Hex;
49 using pcrecpp::Octal;
50 using pcrecpp::CRadix;
537 TestQuoteMeta("Pl\xc3\xa1\x63ido Domingo", pcrecpp::UTF8());
538 TestQuoteMeta("xyz", pcrecpp::UTF8()); // No fancy utf8
539 TestQuoteMeta("\xc2\xb0", pcrecpp::UTF8()); // 2-byte utf8 (degree symbol)
540 TestQuoteMeta("27\xc2\xb0 degrees", pcrecpp::UTF8()); // As a middle character
541 TestQuoteMeta("\xe2\x80\xb3", pcrecpp::UTF8()); // 3-byte utf8 (double prime)
542 TestQuoteMeta("\xf0\x9d\x85\x9f", pcrecpp::UTF8()); // 4-byte utf8 (music note)
546 pcrecpp::UTF8());
621 TestOneOption("CASELESS (function)", "HELLO", "hello", pcrecpp::CASELESS(), false);
622 TestOneOption("CASELESS (function)", "^[A-Z]+$", "Hello", pcrecpp::CASELESS(), false);
635 TestOneOption("MULTILINE (function)", "^cruel$", str, pcrecpp::MULTILINE(), false);
648 TestOneOption("DOTALL (function)", "HELLO.*world", str, pcrecpp::DOTALL(), true);
691 TestOneOption("EXTENDED (function)", "HELLO world", str, pcrecpp::EXTENDED(), false, false);
697 pcrecpp::EXTENDED(),
1200 RE re_test2("...", pcrecpp::UTF8());
1209 RE re_test4("(.)", pcrecpp::UTF8());
1216 RE re_test6(utf8_string, pcrecpp::UTF8());
1222 RE re_test8(utf8_pattern, pcrecpp::UTF8());
1233 RE match_sentence_re(pattern, pcrecpp::UTF8());
1243 RE match_sentence_re(pattern, pcrecpp::UTF8());