Regular Expressions 101

Community Library

Community Library Entry

0

Regular ExpressionOpen Workspace

`
\.version\s*=\s*['"]?(.*?)(?:['"]|$)
`
gm

Description
Created·2022-08-30 13:09
Type·Match
Flavor·Golang

Determine the version value in a gemspec configuration file

Submitted by Ori
Open Workspace