Re: Regular expression functions (Was: Re: [xsl] comments on December F&O draft)

Subject: Re: Regular expression functions (Was: Re: [xsl] comments on December F&O draft)
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Sat, 12 Jan 2002 16:17:17 +0000
I wrote:
> Say you had something like:
>
>   $para   =>  \\para\{($phrase)\}
>   $phrase =>  (($bold)|($italic)|([^\\]*))*
>   $bold   =>  \\bold\{($phrase)\}
>   $italic =>  \\italic\{($phrase)\}
>
> to match a string like:
>
>   \para{\italic{this} is \bold{bold \italic{and italic}} text.}
>
> This is essentially David's problem.

I think I'm talking about YACC + regular expressions + node tree
construction here, actually... need to read more about YACC...

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread