escape-test.js revision b45560b37629e25098dccb1df5afa9a8599d869c
name: 'Escape',
'html() should escape HTML characters': function () {
},
'regex() should escape regular expression characters': function () {
Y.Assert.areSame('\\-\\#\\$\\^\\*\\(\\)\\+\\[\\]\\{\\}\\|\\\\\\\,\\.\\?\\ \\\t', Escape.regex('-#$^*()+[]{}|\\,.? \t'));
},
'regexp() should be an alias for regex()': function () {
}
}));