var key = ? //(key)
var str1 = `{{${key} ? ${key}:"nihao"}}`
var str2 = `{{ ${key} && "nihao"}}`
var str3 = `{{ "nihao" || ${key} }}`
reg.test(str1) && reg.test(str2) && reg.test(str3) === true
reg =?
var key = ? //(key)
var str1 = `{{${key} ? ${key}:"nihao"}}`
var str2 = `{{ ${key} && "nihao"}}`
var str3 = `{{ "nihao" || ${key} }}`
reg.test(str1) && reg.test(str2) && reg.test(str3) === true
reg =?
Previous: How to use xlsx to set the style of the exported table in Node.js?
Next: The IP obtained by hazelcast is inconsistent with the registry
for example: aa A1:B2 v2VR b3 want to get: aa A1:B2 v2VR b3 ...
means that users can post links and pictures, but cannot send html and css styles! the current way of writing is: var result=str.replace( (< ?)([a-z]+)( s[ w W]*?)?(>) ig,function(s0,s1,s2,s3,s4) { if (! ^(img|a)$ .test(s2)) return &q...
for example, there is a paragraph of markdown . -sharp-sharp mysql >mysql MySQL Command Line Client mysql; ; ![image](http: localhost:3000 images markdown image-1551081068552-11.png) [http: localhost:8081 markdown 3](http: localhost:8081 mar...