diff --git a/test/utility.js b/test/utility.js
index 8013a6a87..066f8ba67 100644
--- a/test/utility.js
+++ b/test/utility.js
@@ -93,8 +93,8 @@ $(document).ready(function() {
}
_.templateSettings = {
- evaluate : /\{\{(.+?)\}\}/g,
- interpolate : /\{\{=(.+?)\}\}/g
+ evaluate : /\{\{([\s\S]+?)\}\}/g,
+ interpolate : /\{\{=([\s\S]+?)\}\}/g
};
var custom = _.template("
{{ for (key in people) { }}- {{= people[key] }}
{{ } }}
");
@@ -108,8 +108,8 @@ $(document).ready(function() {
equals(quoteInStatementAndBody({foo: "bar"}), "Statement quotes and 'quotes'.");
_.templateSettings = {
- evaluate : /<\?(.+?)\?>/g,
- interpolate : /<\?=(.+?)\?>/g
+ evaluate : /<%([\s\S]+?)%>/g,
+ interpolate : /<%=([\s\S]+?)%>/g
};
var customWithSpecialChars = _.template(" for (key in people) { ?>- = people[key] ?>
} ?>
");