Skip to content

Commit

Permalink
Docs: fix escaping of pipes in regexes that appear in table cells
Browse files Browse the repository at this point in the history
  • Loading branch information
hx authored and bbatsov committed Apr 27, 2021
1 parent 2ee24df commit eed1ba0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_lint.adoc
Expand Up @@ -5479,7 +5479,7 @@ exactly(2).times { raise StandardError }
| Name | Default value | Configurable values

| IgnoredPatterns
| `(?-mix:(exactly|at_least|at_most)\(\d+\)\.times)`
| `(?-mix:(exactly\|at_least\|at_most)\(\d+\)\.times)`
| Array
|===

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_naming.adoc
Expand Up @@ -501,7 +501,7 @@ EOS
| Name | Default value | Configurable values

| ForbiddenDelimiters
| `(?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))`
| `(?-mix:(^|\s)(EO[A-Z]{1}\|END)(\s|$))`
| Array
|===

Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/cops_style.adoc
Expand Up @@ -12112,8 +12112,8 @@ array of 2 or fewer elements.
| Integer

| WordRegex
| `(?-mix:\A(?:\p{Word}|\p{Word}-\p{Word}|\n|\t)+\z)`
|
| `(?-mix:\A(?:\p{Word}\|\p{Word}-\p{Word}\|\n\|\t)+\z)`
|
|===

=== References
Expand Down

0 comments on commit eed1ba0

Please sign in to comment.