pep-426: properly escape backslashes
This commit is contained in:
parent
5ad57e290b
commit
5e6a01452e
|
@ -7,7 +7,7 @@
|
|||
"metadata_version": {
|
||||
"description": "Version of the file format",
|
||||
"type": "string",
|
||||
"pattern": "^(\d+(\.\d+)*)$"
|
||||
"pattern": "^(\\d+(\\.\\d+)*)$"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of the distribution.",
|
||||
|
@ -17,7 +17,7 @@
|
|||
"version": {
|
||||
"description": "The distribution's public version identifier",
|
||||
"type": "string",
|
||||
"pattern": "^(\d+(\.\d+)*)((a|b|c|rc)(\d+))?(\.(post)(\d+))?(\.(dev)(\d+))?$"
|
||||
"pattern": "^(\\d+(\\.\\d+)*)((a|b|c|rc)(\\d+))?(\\.(post)(\\d+))?(\\.(dev)(\\d+))?$"
|
||||
},
|
||||
"source_label": {
|
||||
"description": "A constrained identifying text string",
|
||||
|
|
Loading…
Reference in New Issue