diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-08-27 23:42:40 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-08-27 23:42:40 +0900 |
commit | e64ee7e330bd82b7887493f14e52024658f5bbce (patch) | |
tree | 3f2fcf93172694951b1015dd36318f14a5e02f73 /sphinx/util/jsdump.py | |
parent | 654ab7757422f2b3adfaf5dc5d5891b590356aa3 (diff) | |
parent | 281942ce25e6a88bbe03253552b09a7a99670057 (diff) | |
download | sphinx-git-e64ee7e330bd82b7887493f14e52024658f5bbce.tar.gz |
Merge branch 'stable'
Diffstat (limited to 'sphinx/util/jsdump.py')
-rw-r--r-- | sphinx/util/jsdump.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/jsdump.py b/sphinx/util/jsdump.py index 43c2962f1..5a2148c5b 100644 --- a/sphinx/util/jsdump.py +++ b/sphinx/util/jsdump.py @@ -18,7 +18,7 @@ from sphinx.util.pycompat import u _str_re = re.compile(r'"(\\\\|\\"|[^"])*"') _int_re = re.compile(r'\d+') -_name_re = re.compile(r'[a-zA-Z]\w*') +_name_re = re.compile(r'[a-zA-Z_]\w*') _nameonly_re = re.compile(r'[a-zA-Z_][a-zA-Z0-9_]*$') # escape \, ", control characters and everything outside ASCII |