[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: check the type of the $pattern argument to a regul

Subject: Re: check the type of the $pattern argument to a regular expression?
From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx>
Date: Sun, 15 Apr 2007 12:31:51 +0200
Re:  check the type of the $pattern argument to a regul
ah, hadn't thought of that, no doubt due to my poor command of
regular expressions, so it should be implemented as probably a
recursive function that checks the various steps of the regex.

Cheers,

Bryan Rasmussen

On 4/15/07, Michael Kay <mike@xxxxxxxxxxxx> wrote:
I *think* David's point is that the problem is mathematically insoluble: the
grammar for regular expressions is recursive, and regular expressions are
not powerful enough to process a language whose grammar is recursive.

Sorry I suggested it!

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: bryan rasmussen [mailto:rasmussen.bryan@xxxxxxxxx]
> Sent: 15 April 2007 09:45
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  check the type of the $pattern argument to
> a regular expression?
>
> I thought that was the most likely solution, although it
> might be that one would want to break the task into a
> template and a number of regular expressions, anyway I was
> wondering if anyone knew of such a solution already?
>
> cheers,
> Bryan Rasmussen
>
> On 4/15/07, David Carlisle <davidc@xxxxxxxxx> wrote:
> >
> > > Short of writing a regular expression that only matches valid
> > > regular expressions (which sounds like an interesting
> exercise for
> > > the reader),
> >
> > along with other interesting exercises like trisecting angles and
> > squaring the circle, presumably:-)
> >
> > David

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.