mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Make regex for method more performant to avoid catastrophic backtracking
This commit is contained in:
committed by
Mike van Riel
parent
8727095d6b
commit
51b773933d
@@ -117,7 +117,7 @@ final class Method extends BaseTag implements Factory\StaticMethod
|
||||
(?:[\w\|_\\\\]+)
|
||||
# array notation
|
||||
(?:\[\])*
|
||||
)*
|
||||
)*+
|
||||
)
|
||||
\s+
|
||||
)?
|
||||
|
||||
Reference in New Issue
Block a user