Community Patterns

Community Library Entry

0

Regular Expression
Created·2017-11-12 18:26
Flavor·Golang

`
(?P<indent>\s*)(?P<type>[\w]+)\s(?P<identifier>[\w\d]+)\s*=\s*
`
g
Open regex in editor

Description

Matches a variable with the following syntax; <indentation> <type> <name> =

example

string foo =

Submitted by Jordy van Domselaar <jordy.van.domselaar@outlook.com>