I agree with Purodha. Do not be 'smart'. Do not change the meaning of a regexp.

Regards,

Mike Unwalla
Contact: www.techscribe.co.uk/techw/contact.htm 

-----Original Message-----
From: Purodha Blissenbach [mailto:puro...@blissenbach.org] 
<snip>
>
> 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?

I suggest version 1, since 2 would alter the usual meaning of regular 
expressions which I believe is a bad idea.

Purodha




------------------------------------------------------------------------------
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to