forked from AFPy/PonyConf
9 lines
304 B
JavaScript
9 lines
304 B
JavaScript
define( function() {
|
|
"use strict";
|
|
|
|
// rtagName captures the name from the first start tag in a string of HTML
|
|
// https://html.spec.whatwg.org/multipage/syntax.html#tag-open-state
|
|
// https://html.spec.whatwg.org/multipage/syntax.html#tag-name-state
|
|
return ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i );
|
|
} );
|