equal
deleted
inserted
replaced
1229 return "(?:%s)" % name |
1229 return "(?:%s)" % name |
1230 else: |
1230 else: |
1231 return "(?:%s){1,%d}" % (name, infos["maxOccurs"]) |
1231 return "(?:%s){1,%d}" % (name, infos["maxOccurs"]) |
1232 else: |
1232 else: |
1233 if infos["maxOccurs"] == "unbounded": |
1233 if infos["maxOccurs"] == "unbounded": |
1234 return "(?:%s){%d,}" % (name, infos["minOccurs"], name) |
1234 return "(?:%s){%d,}" % (name, infos["minOccurs"]) |
1235 else: |
1235 else: |
1236 return "(?:%s){%d,%d}" % (name, |
1236 return "(?:%s){%d,%d}" % (name, |
1237 infos["minOccurs"], |
1237 infos["minOccurs"], |
1238 infos["maxOccurs"]) |
1238 infos["maxOccurs"]) |
1239 |
1239 |