Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
e9af6a8c
Commit
e9af6a8c
authored
Dec 04, 2023
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Use a raw string for regular expressions
Since Python 3.12 unknown escape sequences trigger a warning.
parent
ca5770ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vtc-syntax.py
doc/sphinx/vtc-syntax.py
+1
-1
No files found.
doc/sphinx/vtc-syntax.py
View file @
e9af6a8c
...
...
@@ -36,7 +36,7 @@ import re
def
parse_file
(
fn
,
cl
,
tl
,
sl
):
p
=
False
section
=
""
resec
=
re
.
compile
(
"
\
s*/?
\
* SECTION: "
)
resec
=
re
.
compile
(
r
"\s*/?\* SECTION: "
)
f
=
open
(
fn
,
"r"
,
encoding
=
"UTF-8"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment