📅  最后修改于: 2022-03-11 15:03:16.833000             🧑  作者: Mango
var s = "Please yes\nmake my day!";
s.match(/yes.*day/);
// Returns null
s.match(/yes[^]*day/);
// Returns 'yes\nmake my day'