summaryrefslogtreecommitdiff
path: root/sphinx/util/jsdump.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-01-12 13:03:53 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-01-12 13:03:53 +0900
commit38d6c34f35c60689f22d1f71ce650ca1e3005ec4 (patch)
tree0677416d0de03a53ee7d348289d8560e511c2bed /sphinx/util/jsdump.py
parentef912eb9a3e923e80d5c6a08fda4597a65d591aa (diff)
parent478306e052d9711170b1fbe63635edef02853484 (diff)
downloadsphinx-git-38d6c34f35c60689f22d1f71ce650ca1e3005ec4.tar.gz
Merge branch 'stable'
Diffstat (limited to 'sphinx/util/jsdump.py')
-rw-r--r--sphinx/util/jsdump.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/util/jsdump.py b/sphinx/util/jsdump.py
index 330b5c0ee..7c60a1b70 100644
--- a/sphinx/util/jsdump.py
+++ b/sphinx/util/jsdump.py
@@ -20,8 +20,8 @@ if False:
# For type annotation
from typing import Any, IO, Union # NOQA
-_str_re = re.compile(r'"(\\\\|\\"|[^"])*"')
-_int_re = re.compile(r'\d+')
+_str_re = re.compile(r'"(\\\\|\\"|[^"])*"')
+_int_re = re.compile(r'\d+')
_name_re = re.compile(r'[a-zA-Z_]\w*')
_nameonly_re = re.compile(r'[a-zA-Z_][a-zA-Z0-9_]*$')