Regular Expressions 101

Library entries

Finding imports

Vote

0

Regular Expression
golang

`
[\t:]*(from (.*?)[ ]*|)import (.*?)(| as (.*?))[\n]
`
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago