Community Patterns

Community Library Entry

0

Regular Expression
Created·2017-08-20 13:03
Flavor·PCRE (Legacy)

/
(?:\b(T\s|void\s)(\w+<T>)\(.*\);|(\w+[<?\w+>?]*\s)(\w+)\b((\s{[get;\|private get;|set;]+)|\(.*\));)
/
g
Open regex in editor

Description

This regex will match the interface member definition withing the cs file

Submitted by Gabriel Marius Popescu