Nathan Wells <sungk...@gmail.com> wrote:

> Thank you for your help. I'll try putting it in grammar.xml and see how that
> goes.
> One more question. What's the best way to find the ៈ character at the end of
> a word using regex in a rule?
>
> <token regexp="yes">\w*ៈ\b</token>
>
> ?

Simply use:

<token regexp="yes">.*ៈ</token>

The anchors at the beginning ^ and at the end $ are implicit.
Using \b at the end is useless since the end  is always a word boundary.

Regards
Dominique

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to