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
Decorators Regex
Open Workspace
JavaScript
Match
Created 2022-08-16 22:49
0
Regular Expression
/
(?<=
{
|
;
)
\s
*
@
(
[
\w
_
\$
]
*
)
\s
*
(
\(
[
\s
'"
\w
_
\$
,#
]
*
\)
)?
\s
*
(
(
public
|
private
|
protected
)?
\s
+
(
[
\w
_
\$
]
*
)
\s
*
!
?
\s
*
:
?
\s
*
\w
*
\s
*
=
?
\s
*
(
[
\w
()
\$
]
*
)
)(?=
}
|
;
)
/
gm
Description
Expresion regular para obtener los metadas que pasaria un decorador según el estandar TC39
Submitted by
Anonymous