История изменений
Исправление static_lab, (текущая версия) :
"points (1, 2) and (3, 4) are there".match(/\(.*\)/) // [ "(1, 2) and (3, 4)" ]
"points (1, 2) and (3, 4) are there".match(/\(.*?\)/) // [ "(1, 2)" ]
Исходная версия static_lab, :
"points (1, 2) and (3, 4) are there".match(/\(.*\)/) // [ "(1, 2) and (3, 4)" ]