Skip to content
Snippets Groups Projects
Commit e269d4c4 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add test for regexp issue from 936

It seems that somewhere, the ungreedy flag doesn't work correctly.
parent 701cd5b0
No related branches found
No related tags found
No related merge requests found
Pipeline #8984 failed
var x = '/opt/sbbs/fido/outbound.00a/00010001.flo';
if (x.replace(/\.[^\.]*?$/, '.bsy') === x) {
throw new Error("Ungreedy match failed!");
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment