diff options
author | Rickard Green <[email protected]> | 2017-03-29 15:00:49 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-04-05 14:36:43 +0200 |
commit | ecaf4af3464290b985168f999f6443c18a303218 (patch) | |
tree | d7eda18cc268d3ffeb4bb9fc6f2d1ea5d8c81027 /lib/stdlib | |
parent | 5f318627d716c0e353f33fe412ad9bbd50c7e340 (diff) | |
download | otp-ecaf4af3464290b985168f999f6443c18a303218.tar.gz otp-ecaf4af3464290b985168f999f6443c18a303218.tar.bz2 otp-ecaf4af3464290b985168f999f6443c18a303218.zip |
Skip line with lockout of modifiers in PCRE tests
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/test/run_pcre_tests.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stdlib/test/run_pcre_tests.erl b/lib/stdlib/test/run_pcre_tests.erl index ae56db59d6..5c6d33d0d1 100644 --- a/lib/stdlib/test/run_pcre_tests.erl +++ b/lib/stdlib/test/run_pcre_tests.erl @@ -450,6 +450,9 @@ stru([]) -> []; stru([{_,<<>>}|T]) -> stru(T); +stru([{_Line,<<"< forbid ", _Rest/binary>>}|T0]) -> + %% We do not handle lockout of modifiers from the tests... + stru(T0); stru([{Line,<<Ch,Re0/binary>>}|T0]) -> {T,Re} = find_rest_re(Ch,[{Line,Re0}|T0]), {NewRe,<< Ch, Options/binary >>} = end_of_re(Ch,Re), |