node_modules/jquery/src/core/var/rsingleTag.js (raw)
1 2 3 4 5 6 7 |
define( function() { "use strict"; // rsingleTag matches a string consisting of a single HTML element with no attributes // and captures the element's name return ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); } ); |