fr.splayce.rel.util.MatchGroups.NotEmpty
Allows pattern matching with a Map of name -> option (None if group value is null or empty, Some(str) otherwise).
In case of multiple groups with the same name, the last occurrence will prevail.
case MatchGroups.NotEmpty.NamedMap(m) if (m contains "a") => m("a")
Allows pattern matching with a Map of name -> option (None if group value is null or empty, Some(str) otherwise).
In case of multiple groups with the same name, the last occurrence will prevail.