Regular Expressions 101

Community Patterns

Traefik plugins in traefik-ingress helm values for renovate bot

1

Regular Expression
ECMAScript (JavaScript)

/
moduleName: ["']?github\.com\/(?<depName>[\w\-]+\/[\w\-\.]+)["']?,?\s+version:\s+["']?(?<currentValue>[_\-\.\w]+)["']?
/
gm

Description

Match:

  plugins:
    plugin-name: { moduleName: github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin, version: v1.3.0 }

  plugins:
    plugin-name:
      moduleName: "github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
      version: 'v1.3.0'
Submitted by Yevhen Kolomeiko (Sad-Soul-Eater) - 3 months ago (Last modified 3 months ago)