This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]