Description
Regex lookbehind assertions ((?<=...) and (?<!...)) don't produce correct results. Affects test_gap_regexp_advanced.
Example
const re = /(?<=@)\w+/;
const match = "user@example".match(re);
// Expected: ["example"]
Low priority — lookbehind is a relatively uncommon regex feature.
Description
Regex lookbehind assertions (
(?<=...)and(?<!...)) don't produce correct results. Affectstest_gap_regexp_advanced.Example
Low priority — lookbehind is a relatively uncommon regex feature.