The message is:

Running pattern rule tests for Dutch... The Dutch rule: TT_DEN_GEKKEN:1,
token [2], contains "n$" that is marked as regular expression but probably
is not one.


The rule is:

<rule id="TT_DEN_GEKKEN" name="Vlaams of Oudnederlands, geen Nederlands">
  <pattern>
    <token>den</token>
    <token regexp="yes">n$</token>
  </pattern>
  <message>Standaardnederlands is <suggestion>de <match no="2"
regexp_match="n$" regexp_replace=""/></suggestion>.</message>
  <url></url>
  <short>den</short>
  <example type="incorrect"><marker>Den lelijken</marker> man.</example>
  <example type="correct"><marker>De lelijke</marker> man.</example>
</rule>

The message does not show when n$ is replaced with '^.*n$'
I suspect the $ is not in the regexp detection routine as a character
indicating a regular expression.
> On 2014-08-25 11:57, R.J. Baars wrote:
>
>> I tried the regexp n$, but it is incorrectly not detectes as a regexp.
>
> We don't detect regexp automatically, you need to use regexp='yes'
> anyway. If that doesn't help, please post the complete rule that's
> causing problems.
>
> Regards
>   Daniel
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>



------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to