Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use raw string literals for these two regexps (#516)
This eliminates Python warnings that used to be printed when running the script: ~/projects/openzfs-docs/docs% ../scripts/man_pages.py . /Users/user/projects/openzfs-docs/docs/../scripts/man_pages.py:57: SyntaxWarning: invalid escape sequence '\(' '\((?P<num>[1-9])\)<\/a>') /Users/user/projects/openzfs-docs/docs/../scripts/man_pages.py:58: SyntaxWarning: invalid escape sequence '\g' LINKS_FINAL_REGEX = ('<a href="../\g<num>/\g<name>.\g<num>.html" class="Xr"' /Users/user/projects/openzfs-docs/docs/../scripts/man_pages.py:59: SyntaxWarning: invalid escape sequence '\g' '>\g<name>(\g<num>)</a>') (...)
- Loading branch information