JavaScript Regex berhenti pada pertandingan pertama

// Adding a ? on a quantifier (?, * or +) makes it non-greedy.
/location="(.*?)"/
Obedient Oyster