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