fixing repomirror and some patterns

This commit is contained in:
2020-06-19 02:43:38 -04:00
parent f4f8f482b8
commit 92fcb85cb9
3 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@
dir: ^\s*(~?/[^/]*)+/?\s*$
file: ^\s*(~?/[^/]+)+\s*$
reldir: ^\s*[^/](([^/]*)+/?)+\s*$
relfile: ^\s*[^/]+([^/]*)+[^/]\s*$
relfile: ^\s*[^/]+(/|[^/]*)*[^/]+\s*$
-->
<!-- ABSOLUTE directory path -->
<xs:simpleType name="t_unix_dirpath">
@@ -53,7 +53,7 @@
<!-- RELATIVE file path -->
<xs:simpleType name="t_unix_relfilepath">
<xs:restriction base="xs:string">
<xs:pattern value="\s*[^/]+([^/]*)+[^/]\s*"/>
<xs:pattern value="\s*([^/]+)(/[^/]+)*([^/])*\s*"/>
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>