Multiline is important, don't forget to set it

This commit is contained in:
Wliu
2017-08-09 22:52:39 -04:00
parent e48b980d41
commit 2fa2feacaf

View File

@@ -1949,7 +1949,7 @@ module.exports = class Workspace extends Model {
}
if (!outOfProcessFinished.length) {
let flags = 'g'
let flags = 'gm' // set multiline flag so ^ and $ match start/end of line, not file
if (regex.ignoreCase) { flags += 'i' }
const task = Task.once(