update regexes to match django
This commit is contained in:
1 parent
d86f6533a8
commit
451e38cad4
4 files changed
+1138
-1097
No files matched your search
+2
-2
@@ -138,7 +138,7 @@
|
||||
},
|
||||
"number": {
|
||||
"type": "PATTERN",
|
||||
"value": "[-+]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][0-9]+)?"
|
||||
"value": "[-+]?(?:[0-9](?:_?[0-9])*(?:\\.(?:[0-9](?:_?[0-9])*)?)?|\\.[0-9](?:_?[0-9])*)(?:[eE][0-9](?:_?[0-9])*)?"
|
||||
},
|
||||
"string": {
|
||||
"type": "PATTERN",
|
||||
@@ -146,7 +146,7 @@
|
||||
},
|
||||
"attribute": {
|
||||
"type": "PATTERN",
|
||||
"value": "[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*"
|
||||
"value": "[a-zA-Z0-9][a-zA-Z0-9_]*(?:\\.[a-zA-Z0-9][a-zA-Z0-9_]*)*"
|
||||
},
|
||||
"variable_attribute": {
|
||||
"type": "SEQ",
|
||||
|
||||
+1103
-1093
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user