Open yuklai opened 1 year ago
@yuklai The groups
attribute is for internal use, it simply stores a regex, based on the numbering system you picked, all you have to do is select the numbering system using useVedic
attribute
Even if you managed to pass a groups
attribute, it will always be overwritten by the else clause, so I'd say don't worry much about it 😁
if(settings.useVedic) {
settings.groups = vedicRegex;
} else {
settings.groups = groupRegex;
}
Hi all, when Format function's option (Options interface) parameter should have a
groups
attribute, right? It's missing in the typescript definition for me but when I step through the code, groups is valid.I'm using the latest 2.0.4 version. Did I miss anything? Thanks!