3abe9331 |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <schema xmlns="http://www.w3.org/2001/XMLSchema" |
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" |
4 | targetNamespace="www.example.org/regex/square/brackets"> |
5 | |
6 | <xs:simpleType name="pattern1"> |
7 | <xs:restriction base="xs:string"> |
8 | <xs:pattern value="}[(@){1,5}{}|\\.\[\]]{3,}"/> |
9 | </xs:restriction> |
10 | </xs:simpleType> |
11 | |
12 | <xs:simpleType name="pattern2"> |
13 | <xs:restriction base="xs:string"> |
14 | <xs:pattern value="{[?.a-zA-Z(@){1,3},\[\]/\^{}]?"/> |
15 | </xs:restriction> |
16 | </xs:simpleType> |
17 | |
18 | <xs:simpleType name="pattern3"> |
19 | <xs:restriction base="xs:string"> |
20 | <xs:pattern value="(sip:(^[a-zA-Z0-9\+\-_]*(!.*!)?[(@){1}a-zA-Z0-9\.\-_]){1,71})|tel:\+([\-.()0-9]*(!.*!)?){4,71}"/> |
21 | </xs:restriction> |
22 | </xs:simpleType> |
23 | |
24 | </schema> |