Lines Matching defs:TestQuoteMeta
391 static void TestQuoteMeta(string unquoted,
412 TestQuoteMeta("foo");
413 TestQuoteMeta("foo.bar");
414 TestQuoteMeta("foo\\.bar");
415 TestQuoteMeta("[1-9]");
416 TestQuoteMeta("1.5-2.0?");
417 TestQuoteMeta("\\d");
418 TestQuoteMeta("Who doesn't like ice cream?");
419 TestQuoteMeta("((a|b)c?d*e+[f-h]i)");
420 TestQuoteMeta("((?!)xxx).*yyy");
421 TestQuoteMeta("([");
439 TestQuoteMeta("3\xb2 = 9", RE2::Latin1);
443 TestQuoteMeta("Plácido Domingo");
444 TestQuoteMeta("xyz"); // No fancy utf8.
445 TestQuoteMeta("\xc2\xb0"); // 2-byte utf8 -- a degree symbol.
446 TestQuoteMeta("27\xc2\xb0 degrees"); // As a middle character.
447 TestQuoteMeta("\xe2\x80\xb3"); // 3-byte utf8 -- a double prime.
448 TestQuoteMeta("\xf0\x9d\x85\x9f"); // 4-byte utf8 -- a music note.
449 TestQuoteMeta("27\xc2\xb0"); // Interpreted as Latin-1, this should
460 TestQuoteMeta(has_null);
465 TestQuoteMeta(has_null);