Regular Expressions 101

Library entries

Checks for PHP classes with namespaces that haven't been imported.

Vote

0

Regular Expression
golang

`
(?:implements|new|@var|extends)\s*(?P<fullNamespace>\\[A-Za-z]+|[A-Za-z]+?(?:\\(?P<class>[A-Za-z]+))+)
`
g

Description

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