Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Some of the FTP directory parsers use greedy qualifiers - ".*" - within a regex.
This can be expensive, as it may require backtracking.
It's usually better to use a reluctant qualifier - e.g. ".*?" - except at the end of an RE.