1
2
3
4
define(function() {
    // Match a standalone tag
    return (/^<(\w+)\s*\/?>(?:<\/\1>|)$/);
});