Plato on Github
Report Home
src/core/var/rsingleTag.js
Maintainability
93.43
Lines of code
6
Difficulty
1.50
Estimated Errors
0.01
Function weight
By Complexity
By SLOC
define( function() { "use strict"; // Match a standalone tag return ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); } );