static String getRegex() {
    return REGEX;
  }
Regex with named capture groups that can be used to match strings containing a key with value or
a flag.

<p>
The raw regex string is:

{@code (?<prefix>--J=-D|-D|--)(?<key>[^\s=]+)(?:(?! (?:--J=-D|-D|--))(?<assign> *[ =] *)(?! (?:--J=-D|-D|--))(?<value>"[^"]*"|\S+))?}
geode-core/src/main/java/org/apache/geode/internal/util/redaction/ParserRegex.java