Lines Matching defs:TestQuoteMeta
384 static void TestQuoteMeta(string unquoted,
405 TestQuoteMeta("foo");
406 TestQuoteMeta("foo.bar");
407 TestQuoteMeta("foo\\.bar");
408 TestQuoteMeta("[1-9]");
409 TestQuoteMeta("1.5-2.0?");
410 TestQuoteMeta("\\d");
411 TestQuoteMeta("Who doesn't like ice cream?");
412 TestQuoteMeta("((a|b)c?d*e+[f-h]i)");
413 TestQuoteMeta("((?!)xxx).*yyy");
414 TestQuoteMeta("([");
432 TestQuoteMeta("3\xb2 = 9", RE2::Latin1);
436 TestQuoteMeta("Plácido Domingo");
437 TestQuoteMeta("xyz"); // No fancy utf8.
438 TestQuoteMeta("\xc2\xb0"); // 2-byte utf8 -- a degree symbol.
439 TestQuoteMeta("27\xc2\xb0 degrees"); // As a middle character.
440 TestQuoteMeta("\xe2\x80\xb3"); // 3-byte utf8 -- a double prime.
441 TestQuoteMeta("\xf0\x9d\x85\x9f"); // 4-byte utf8 -- a music note.
442 TestQuoteMeta("27\xc2\xb0"); // Interpreted as Latin-1, this should
453 TestQuoteMeta(has_null);
458 TestQuoteMeta(has_null);