mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #31977 from petoju/feature/fix-alternative
Fix regex pattern for more alternatives
This commit is contained in:
commit
374885addf
@ -71,7 +71,7 @@ of the pattern must be escaped as `\\`.
|
||||
| `\PN` | The opposite of `\pN` |
|
||||
| `\P{Greek}` | The opposite of `\p{Greek}` |
|
||||
| `xy` | `x` followed immediately by `y` |
|
||||
| <code>x\|y</code> | either `x` or `y`, preferring `x` |
|
||||
| `x|y` | either `x` or `y`, preferring `x` |
|
||||
| `x*` | zero or more `x`, preferring more |
|
||||
| `x*?` | zero or more `x`, preferring fewer |
|
||||
| `x+` | one or more `x`, preferring more |
|
||||
|
Loading…
Reference in New Issue
Block a user