Closed OrderAndCh4oS closed 3 years ago
These are artifacts of an earlier time. square brackets should be replaced by parentheses.
Thank you so much for clearing that up. I suspected that was the case, just wanted to make sure I hadn't overlooked something.
Superb project, by the way, has been a great help.
In fra-Latn.txt preprocessors there are some matches that use
[]
and others that use()
Is a difference in behaviour between the two?
Am I right in thinking that:
[::front_vowel::]
is[e|é|è|ê|ë|i|î|ï|y|E|É|È|Ê|Ë|I|Î|Ï|Y|ɛ]
in regex.(::front_vowel::)
is(e|é|è|ê|ë|i|î|ï|y|E|É|È|Ê|Ë|I|Î|Ï|Y|ɛ)
in regex.From what I understand of regex they look as though they'd do the same thing, except
[::front_vowel::]
would also match the|
char.I also don't think
[]
would work if there are two or more chars in a group, for examplech
in:I'd guess that
()
also create capturing groups but I'm not sure if that's being utilised.Any guidance would be greatly appreciated.