Is the grammar file required to have an XML encoding declaration?

That way an author could use the Unicode code point
as a hex value?

regards


On 21 March 2014 14:01, Dominique Pellé <dominique.pe...@gmail.com> wrote:
> 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



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

------------------------------------------------------------------------------
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