blob: d85781ebbdae1a987c6a611b63e6d21db65acfce [file] [log] [blame]
description(
'Test for expressions that would hang when evaluated due to exponential matching behavior. If the test does not hang it is a success.'
);
shouldBe('/(?:[^(?!)]||){23}z/.test("/(?:[^(?!)]||){23}z/")', 'false');