public static ByteString literalRegex(ByteString value) {
    ByteString.Output output = ByteString.newOutput(value.size() * 2);

    ByteIterator it = value.iterator();
    writeLiteralRegex(it, output);

    return output.toByteString();
  }
public static ByteString literalRegex ( ByteString value ) { ByteString . Output output = ByteString . newOutput ( value . size ( ) * 2 ) ; ByteIterator it = value . iterator ( ) ; writeLiteralRegex ( it , output ) ; return output . toByteString ( ) ; }
Converts the value to a quoted regular expression.