diff options
author | Patrik Nyblom <[email protected]> | 2013-07-31 15:17:27 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2013-08-09 12:10:44 +0200 |
commit | 8cbc9296944b5d1397d15e5615890b61549d5064 (patch) | |
tree | 86a9a61f4e3f6b60dd745fadc154489a14db64bf /erts/emulator/beam/sys.h | |
parent | 1f4c016785a924b2e42fbb7858640be3d46e9625 (diff) | |
download | otp-8cbc9296944b5d1397d15e5615890b61549d5064.tar.gz otp-8cbc9296944b5d1397d15e5615890b61549d5064.tar.bz2 otp-8cbc9296944b5d1397d15e5615890b61549d5064.zip |
Add match_limit and match_limit_recursion options
Added to re:run and sets the corresponding fields in 'extra' struct
for the PCRE match engine. The result can be viewed by also
setting 'report_errors' when matching.
Some housekeeping was also done...
The offset option also did not properly check for offset's >= 0.
Change nomatch to BADARG when pre-compiled mp() is faked:
By constructing a 5-tuple with faked content but the right data types,
you could do a re:run which returned nomatch when in fact the mp() was
bad. The cheapest solution is to check the return from pcre_exec
better.
Remove unreachable code in erts_bif_re.c:
Replaced tests for things that logically simply
cannot happen with ASSERT.
Diffstat (limited to 'erts/emulator/beam/sys.h')
0 files changed, 0 insertions, 0 deletions