@InternalApi public final class RegexUtil extends Object
Pattern
in two important ways:
See https://github.com/google/re2 for more details.
Modifier and Type | Method and Description |
---|---|
static ByteString |
literalRegex(ByteString value)
Converts the value to a quoted regular expression.
|
static String |
literalRegex(String value) |
public static ByteString literalRegex(ByteString value)
Copyright © 2019 Google LLC. All rights reserved.