Regular Expressions 101

match all non golang files

Open Workspace
  • PCRE (Legacy)
  • Match
1

Regular Expression

/
^[^.]+$|\.(?!(go)$)([^.]+$)|^[\S]+[.]$
/

Description

match all names except those with '.go' extension

Submitted by Ashish Gaurav