Skip to content

Fix unnecessary escaping of pipe in regexp examples#12784

Merged
traefiker merged 1 commit intotraefik:v3.6from
diegmonti:fix/docs-regexp-pipe-escaping
Mar 11, 2026
Merged

Fix unnecessary escaping of pipe in regexp examples#12784
traefiker merged 1 commit intotraefik:v3.6from
diegmonti:fix/docs-regexp-pipe-escaping

Conversation

@diegmonti
Copy link

What does this PR do?

Removes unnecessary backslash escaping of the pipe character (|) in regexp examples in the HTTP routing rules & priority documentation. \| matches a literal pipe in Go regexp, while | is the alternation operator, which is what the examples intend to demonstrate.

Motivation

The regexp examples in the rules-and-priority docs escape the pipe as \| inside inline code blocks in Markdown tables.

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

None.

Copy link
Member

@rtribotte rtribotte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@rtribotte rtribotte added bot/light-review decreases the number of required LGTM from 3 to 1. status/3-needs-merge and removed status/2-needs-review labels Mar 11, 2026
@traefiker traefiker merged commit 65cca12 into traefik:v3.6 Mar 11, 2026
5 checks passed
@traefiker traefiker removed status/3-needs-merge bot/light-review decreases the number of required LGTM from 3 to 1. labels Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants