Re: Parsing XML files as text with collection()

Chapman Flack <chap-JULfBfA8satPFr4CO1/[email protected]> Fri, 9 Oct 2020 17:34:07 -0400
Newsgroups gmane.text.xml.saxon.help
Message-ID <[email protected]>
Tangentially, I just took a look at the documentation for this, and saw

https://www.saxonica.com/html/documentation/sourcedocs/collections/

 More generally, the pattern is converted to a regular expression by
 prepending "^", appending "$", replacing "." by "\.", "*" by ".*",
 and "?" by ".?"

Is that a typo? I would think the regex equivalent of glob "?" to be
simply "." and not ".?".

Regards,
-Chap


On 10/09/20 15:43, Michael Kay wrote:
> This is very much the kind of use case for which uri-collection was introduced.