On 2014-04-29 10:26, Marcin Miłkowski wrote: > So basically, the functionality is almost there and it would be fairly > easy to add it via the reference setting in our code.
Here's another idea (not thought through to the end yet): why extend the syntax with ever more special stuff? Why not add a generic way to call a Java method? This Java method could get the current state of the match and return false if the match should be ignored, i.e. it would work as a filter. This way we could keep the pattern rule matching simple. We might even be able to move some of the more exotic XML features back to such a mechanism (exotic features = see http://markmail.org/message/jkzi42q4cj4qvuls). Regards Daniel ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel