On 2015-09-05 22:53, Dominique Pellé wrote: > It is similar to what Daniel wrote earlier as well: > > <regex>a (plein temps|chaque fois|rude épreuve|vol > d’oiseau)</regex>
So instead of <pattern><token>...</token></pattern> we would have <regex>...</regex>, but it couldn't be combined with <token>, is that right? We'll need to decide if <regex>a plain temps</regex> implies \b at the start and end of the regex, i.e. whether it would also match "la plain temps" or not. If it implies \b and you want to match a word ending in 'a', you'd use <regex>.*a</regex> (need to test if "\b.*a" actually works), otherwise <regex>a\b</regex>. Regards Daniel ------------------------------------------------------------------------------ _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel