In perl.git, the branch tonyc/regexp-runtime-limits-no-re has been created
<https://perl5.git.perl.org/perl.git/commitdiff/85a4efd8589f9eb333628270a49bb2fb273e27fb?hp=0000000000000000000000000000000000000000>
at 85a4efd8589f9eb333628270a49bb2fb273e27fb (commit)
- Log -----------------------------------------------------------------
commit 85a4efd8589f9eb333628270a49bb2fb273e27fb
Author: Tony Cook <[email protected]>
Date: Mon Jun 3 10:47:31 2019 +1000
clean up the error messages a bit
- expand the "regexp" contraction
- make the two messages consistent
commit 33efc2faff987f135cf275df8f747521453d8f56
Author: Tony Cook <[email protected]>
Date: Thu May 30 16:14:18 2019 +1000
document use re 'limit'
commit 1c7c82ee2c2234e6e73b1dceafbf79f484154f4c
Author: Tony Cook <[email protected]>
Date: Thu May 30 16:14:03 2019 +1000
test the limits
commit 319c46fa7a0749f8dac26f2c9f12f371ca12ae07
Author: Tony Cook <[email protected]>
Date: Thu May 30 15:42:39 2019 +1000
bump $re::VERSION
commit 5e0028f7d1e7c35eb5b830529ebe02e92743d58e
Author: Tony Cook <[email protected]>
Date: Mon May 27 16:02:23 2019 +1000
simple resource limits
For now this only checks:
- memory - depth of backtracking
- CPU - counts the loops around the main loop in S_regmatch()
If there's other code that can end up using significant amounts of
memory (ignoring eval blocks), the counts need to be adjusted
to match.
commit 3e2cbd598b1f1582afb818749d3fc489bf72b679
Author: Tony Cook <[email protected]>
Date: Thu May 23 16:21:46 2019 +1000
accept a "limit" parameter for use re
-----------------------------------------------------------------------
--
Perl5 Master Repository