Subject: Re: [xsl] Regular expression for matching sentences|
From: Carlo Liwanag <cliwanag@xxxxxxxxxxxx>
Date: Wed, 23 Aug 2006 09:36:05 +0800
Carlo Liwanag wrote:
I am trying to match my text template to catch sentences (sentences will end in '.','?','!')
So that I can count the number of em-spaces on it. But I just don't know how to create it without using \b (because saxon probably does not support it). Is there an alternative? Please help.
matches anything that starts with a capital letter and ends in a full stop....though be warned, this can return false positives.
gl, Jim Fuller