summaryrefslogtreecommitdiff
path: root/pygments/lexers/julia.py
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2014-10-15 22:13:59 -0700
committerTim Hatch <tim@timhatch.com>2014-10-15 22:13:59 -0700
commit86c2eee37cf292677032e02f553710d4c1eb1f04 (patch)
tree12de020d6fef10c028344a0fc320a6ab750f48d1 /pygments/lexers/julia.py
parent78e09bf1384aa4439f56811b08a2b79ddd440b77 (diff)
downloadpygments-86c2eee37cf292677032e02f553710d4c1eb1f04.tar.gz
Curly brace escaping, round 1.
These locations were all found by regexlint and done semi-manually, leaving braces within [] alone (they aren't special in the 'regex' module).
Diffstat (limited to 'pygments/lexers/julia.py')
-rw-r--r--pygments/lexers/julia.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/julia.py b/pygments/lexers/julia.py
index a9836ee2..65cc9259 100644
--- a/pygments/lexers/julia.py
+++ b/pygments/lexers/julia.py
@@ -117,7 +117,7 @@ class JuliaLexer(RegexLexer):
],
'stringescape': [
- (r'\\([\\abfnrtv"\']|\n|N{.*?}|u[a-fA-F0-9]{4}|'
+ (r'\\([\\abfnrtv"\']|\n|N\{.*?\}|u[a-fA-F0-9]{4}|'
r'U[a-fA-F0-9]{8}|x[a-fA-F0-9]{2}|[0-7]{1,3})', String.Escape)
],
"blockcomment": [