Subject: Re: [xsl] check the type of the $pattern argument to a regular expression? From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Mon, 16 Apr 2007 16:14:34 +0200 |
okay, the limitation I was thinking of is that XML Schema's regex are anchored (sort of sick so don't want to go find the spec and hunt up the correct wording) and XSL-T not necessarily
Unless the metacharacters ^ and $ are used as anchors, the string is considered to match the pattern if any substring matches the pattern. But if anchors are used, the anchors must match the start/end of the string (in string mode), or the start/end of a line (in multiline mode).
Note:
This is different from the behavior of patterns in [XML Schema Part 2: Datatypes Second Edition], where regular expressions are implicitly anchored.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] check the type of the $pa, bryan rasmussen | Thread | RE: [xsl] check the type of the $pa, Michael Kay |
Re: [xsl] Putting a line feed into , Abel Braaksma | Date | Re: [xsl] Is there a way to skip no, Mukul Gandhi |
Month |