summaryrefslogtreecommitdiff
path: root/resolver.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-08-12 08:27:02 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-08-12 08:27:02 +0200
commit0b0cdab19e6ad83885485b4511822c9ed5c57769 (patch)
tree0aa583652105509bd11b6a012d759b0b8a75dc02 /resolver.py
parentfaca9e30b5ee86582cb7e996f963e1aee0f5f4ad (diff)
downloadruamel.yaml-0b0cdab19e6ad83885485b4511822c9ed5c57769.tar.gz
fix issue #218 single + interpreted as integer under 1.2
This fix should be incorperated in 0.15.53 *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so usingthe WorkFlow pull-down (close to the top right of this page)*
Diffstat (limited to 'resolver.py')
-rw-r--r--resolver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolver.py b/resolver.py
index 34e3d1e..44e7b27 100644
--- a/resolver.py
+++ b/resolver.py
@@ -56,7 +56,7 @@ implicit_resolvers = [
u'tag:yaml.org,2002:int',
RegExp(u'''^(?:[-+]?0b[0-1_]+
|[-+]?0o?[0-7_]+
- |[-+]?[0-9_]*
+ |[-+]?[0-9_]+
|[-+]?0x[0-9a-fA-F_]+)$''', re.X),
list(u'-+0123456789')),
([(1, 1)],