Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion api/envoy/type/matcher/v3/regex.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ message RegexMatcher {
GoogleRE2 google_re2 = 1 [(validate.rules).message = {required: true}];
}

// The regex match string. The string must be supported by the configured engine.
// The regex match string. The string must be supported by the configured engine. The regex should

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not thrilled with this wording. Anyone have a better way to phrase it?

@daixiang0 daixiang0 Mar 30, 2022

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The full match string supported by the specified regex engine?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about "The regex is matched against the full string, not as a partial match."

// specify a full input match, not a partial match.
string regex = 2 [(validate.rules).string = {min_len: 1}];
}

Expand Down