setIgnoreEmptyMatches

setIgnoreEmptyMatches(enable: Boolean): JadeRegexPattern;

This fluent‑style method returns its own modified receiver, to allow call chaining. (By default, empty matches are included in the Regex result.)

You can filter out empty matches and not create match objects for them in a Regex operation that requires a JadeRegexResult object such as a split method call. Call the setIgnoreEmptyMatches method of the JadeRegexPattern class with the enable parameter set to true to filter out empty matches.

The ignoring of empty matches can be set before or after you call the compile method.

2020.0.01 and higher