Daniel Naber wrote: > On 2015-10-07 06:41, Dominique Pellé wrote: > > Hi Dominique, > > thanks for your feedback.
One more remark: If I replace a rule like... <pattern> <token>foo</token> <token>bar</token> </token> ... into ... <regexp>foo bar</regexp> ... then the regexp rule does not detect all the errors that the <patttern> rule detected. It does not detect errors in "foo bar" (2 spaces or more, or tabs) or when there is a new line as in: foo bar How to fix it? 1) should we write regex like <regexp>foo\s+bar</regexp> 2) or should <regexp> be smart and automatically treat all sequences of spaces/tabs/newlines/unbreakable spaces as if it was one space? Regards Dominique ------------------------------------------------------------------------------ _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel