summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorManuel Mendez <mmendez534@gmail.com>2022-04-03 22:29:02 -0400
committerzowoq <59103226+zowoq@users.noreply.github.com>2022-04-04 13:37:08 +1000
commit60543c4f9ee05091a0b7aab3620adbc3eeef4b2c (patch)
tree9df85d75d5bf71e4fbc3834f21159cc51f1fb499 /pkgs/development/python-modules/rangehttpserver
parentbb7e4b378eef257335d91ae507d5123c4c770497 (diff)
go: Drop unnecessary backslash-escape
There's no backslash interpretation going on within single-quote strings which means there's no need to escape the backslash. Since this was going on within single-quote strings the $exclude variable ended up having 2 backslashes (`\\`) instead of the intended single backslash. This meant that the regex that was built up was incorrect. For example prometheus' exclude contents before and after this change are: ✕: \(/_\|examples\|Godeps\|testdata\\|documentation/prometheus-mixin\) ✓: \(/_\|examples\|Godeps\|testdata\|documentation/prometheus-mixin\)
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions