escape-test.js revision b37bdfc58ac6a28db9af61b710fff27e6975d3fe
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 () {
}
}));