[Home] [By Thread] [By Date] [Recent Entries]
On 24/01/2011 13:25, Jacobus Reyneke wrote:
so I cannot search for dog or cat. What I need to do is to find something lying between two regular expressions matchin "the sound" and "makes" and wrap that something in an<animal> tag. xskt doesn't have non capturing groups so there are some edge effects that you need to clean up on a second pass if there are possibilities of the "pre" text of one animal overaping the "post" text of another but regex="(the sound)(.*)(makes)" gives you the animal as regex-group(2) more or less. David
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|

Cart



