match `~! @-sharp$% ^ & * () _ +-= [] {} |;: ",. / < >? these special symbols, how to write regular, always report errors. I don"t know what needs to be escaped
.match `~! @-sharp$% ^ & * () _ +-= [] {} |;: ",. / < >? these special symbols, how to write regular, always report errors. I don"t know what needs to be escaped
.wrap them together in square brackets, and then escape a set of square brackets in the outermost square brackets with a backslash
/[`~!@-sharp$%^&*()_+-=\[\]{}|;:'",./<>?]/
symbols are escaped, and then you can match the items that are allowed to be entered.
reference: Chinese third edition of javascript Advanced programming, P103
Previous: What is the problem with the picture display of vue project in ie?
Next: Angular6 app.module import pipe said he couldn't find it.
because vue-router has "- sharp " by default, but when forwarding the address in Wechat s official account, the address "- sharp ", including all future addresses, will be removed directly, resulting in the inability to share the page. so I set the ...
the two domain names doamin are different, is there any way to achieve cookie sharing? Boss solution ...
...