I have this regex:
let regex = /(?=\.|[\"])/;
test = "\"test.test\""
test.split(regex)
which outputs:
[""test", ".test", """]
whereas I want
[""", "test", ".test", """]
I can't see why it splits second double quote but not first double quote
P.S.: must keep ".test" like that (and not "." "test")