This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Regular expression functions (Was: Re: comments on December F&O draft)
- From: Jeni Tennison <jeni at jenitennison dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Cc: "Marc Portier" <mpo at outerthought dot org>
- Date: Sat, 12 Jan 2002 16:17:17 +0000
- Subject: Re: Regular expression functions (Was: Re: [xsl] comments on December F&O draft)
- Organization: Jeni Tennison Consulting Ltd
- References: <LOEAIGHAMOLFGJLAJOFPCEKICFAA.mpo@outerthought.org><139458986137.20020112160715@jenitennison.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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