const t=/\\[0-9a-f]{1,6}(\\r\\n|[ \t\r\n\f])?/gi,r=/\\./g,e=/[^\w-]/,a=/\d/;function c(c){if(!c||""===c.trim())return!1;const n=c.trim().replace(t,"").replace(r,"");return!e.test(n)&&(!a.test(n.charAt(0))&&("-"!==n.charAt(0)||!a.test(n.charAt(1))))}export{c as default};