I understand that, but it is not what I tried to ask. Wij is the
degree-sign not a separate token?

Ruud

> On 2014-08-30 13:24, R.J. Baars wrote:
>
>>       <token><exception
>> regexp="yes">[0-9]{1,2}|[a-z]</exception></token>
>
>> Is there an explanation for the rule catching 2 characters in the
>> token,
>> like -3 and 1° ?
>
> [0-9]{1,2} matches 0, 1, 2... 10, 11, 12...
> [a-z] matches a, b, c...
>
> As this is in an exception, the rule will match everything else, e.g.
> "1°".
>
> 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