Skip to content

Commit

Permalink
Fix for invalid regex pattern (#1994)
Browse files Browse the repository at this point in the history
  • Loading branch information
mprochowski authored Dec 20, 2024
1 parent f84f2fd commit 539ef15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/plugins/_versionFilter.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ sources:
username: "john"
versionFilter:
kind: regex
pattern: "kubernetes-1.(\d*).(\d*)$"
pattern: "kubernetes-1.(\\d*).(\\d*)$"
transformers:
- trimPrefix: "kubernetes-"
```
=> Return the newest kubectl version matching pattern "kubernetes-1.(\d*).(\d*)$" and remove "kubernetes-" from it
=> Return the newest kubectl version matching pattern "kubernetes-1.(\\d*).(\\d*)$" and remove "kubernetes-" from it

==== semver

Expand Down

0 comments on commit 539ef15

Please sign in to comment.