mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
Don't allow negative integer offsets for now.
This commit is contained in:
parent
13cb0cab90
commit
95968ad558
@ -113,7 +113,8 @@ DATATYPES = dict(
|
||||
)
|
||||
|
||||
|
||||
v_integer = pp.Regex(r"[+-]?\d+")\
|
||||
#v_integer = pp.Regex(r"[+-]?\d+")\
|
||||
v_integer = pp.Regex(r"\d+")\
|
||||
.setName("integer")\
|
||||
.setParseAction(lambda toks: int(toks[0]))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user