Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-03-16 08:53
Flavor·Golang

`
service\-(?P<serviceName>[a-zA-Z]+[a-zA-Z-]+[a-zA-Z]+)\-v(?P<versionMajor>[0-9]+)\.(?P<versionMinor>[0-9]+)\.(?P<versionPatch>[0-9]+)(?:\-(?P<versionType>alpha|beta|rc)(?:\.(?P<versionTypeNumber>[0-9]+)))?\.(?P<fileExt>gtw)
`
g
Open regex in editor

Description

This regular expression is used to validated the filename of Gateway plugins.

Submitted by Julien BREUX