As @gimsieke noted in #364, the usage of regexps in filename matching is under-specified:
Make sure that is is clear everywhere that the regular expression is not anchored.
p:directory-list
p:unarchive
There is no error specified in the spec for when the regexp is invalid. Do we need to add a specific error code for that?
I stated in #364 that the matching can be described as using the XPath matches#2() function (as in matches(path-to-match, regexp)). Is that correct? If so, maybe we can describe it as such in the spec?
As @gimsieke noted in #364, the usage of regexps in filename matching is under-specified:
p:directory-list
p:unarchive
I stated in #364 that the matching can be described as using the XPath
matches#2()
function (as inmatches(path-to-match, regexp)
). Is that correct? If so, maybe we can describe it as such in the spec?