alright clearly, regex on fridays just don't happen for me. - fixed

This commit is contained in:
psychobunny
2014-02-21 22:04:21 -05:00
parent 027398f5ba
commit f862d856fc

View File

@@ -281,7 +281,7 @@
}
function makeRegex(block) {
return new RegExp("<!--[\\s]*BEGIN " + block + "[\\s]*-->([\\s\\S]*?)<!--[\\s]*END " + block + "[\\s]*-->", 'g');
return new RegExp("<!--[\\s]*BEGIN " + block + "[\\s]*-->[\\s\\S]*?<!--[\\s]*END " + block + "[\\s]*-->", 'g');
}
function makeConditionalRegex(block) {