Skip to content

Commit

Permalink
Use regexp expression compatible with python < 3
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoe committed Jun 7, 2017
1 parent 4eac016 commit 4a39a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__version__ = "0.9.2"
__spec__ = "0.4.0"

TIME_RE = re.compile("(\d{2}):(\d{2}):(\d{2})(\.(\d{3,6}))?", re.ASCII)
TIME_RE = re.compile("([0-9]{2}):([0-9]{2}):([0-9]{2})(\.([0-9]{3,6}))?")

class TomlDecodeError(Exception):
pass
Expand Down

0 comments on commit 4a39a29

Please sign in to comment.