| Index: components/autofill/core/browser/form_field_unittest.cc
|
| diff --git a/components/autofill/core/browser/form_field_unittest.cc b/components/autofill/core/browser/form_field_unittest.cc
|
| index aac94d07dfbd082bbaeb48b60d45f1a14323fee9..61ebaa3eb3b4edc7ae15c82c9c1e6e0b2e19cd8d 100644
|
| --- a/components/autofill/core/browser/form_field_unittest.cc
|
| +++ b/components/autofill/core/browser/form_field_unittest.cc
|
| @@ -88,7 +88,7 @@ TEST(FormFieldTest, Match) {
|
| EXPECT_TRUE(FormField::Match(&field, "head_tail", FormField::MATCH_LABEL));
|
|
|
| // Word boundaries.
|
| - const std::string kWordBoundary = "(\\A|\\z|\\PL)";
|
| + const std::string kWordBoundary = "(?:\\A|\\z|\\PL)";
|
| field.label = ASCIIToUTF16("contains word:");
|
| EXPECT_TRUE(FormField::Match(&field, kWordBoundary + "word" + kWordBoundary,
|
| FormField::MATCH_LABEL));
|
|
|