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: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 12 Jan 2002 12:19:51 GMT
> (unless there
> would be some special unicode-endofline thing that would be intelligently
> mapped onto by decoders?)

there is a unicode LINE SEPARATOR (which is proposed to add as white
space in XML 1.1) but probably the regexp engine ought be persuaded to
do as XML does and consider any cr nl or cr nl pair as matching the
end-of-line regular expression. You'd also want the matching to be
capable of matching across line bounderies of course.
(that is like emacs rather than sed: . matches any non line end
character so .* doesn't eat your whole file, but [^a] matches any
character not an a (including line ends).

David
 

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread