Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Checks for PHP classes with namespaces that haven't been imported.
Open Workspace
Golang
Match
Created 2017-12-16 04:51
0
Regular Expression
`
(?:
implements
|
new
|
@var
|
extends
)
\s
*
(?P<fullNamespace>
\\
[
A
-
Za
-
z
]
+
|
[
A
-
Za
-
z
]
+?
(?:
\\
(?P<class>
[
A
-
Za
-
z
]
+
)
)+
)
`
g
Description
No description provided.
Submitted by
Anonymous