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...
in the following code, I want to complete the number after "p " to 3 digits, but I find that no matter how many bits are after p, there is always a 0 in front of it. var a= 18917304_p1234 ; a.replace( ( d.*p)( d.*) , $1 +( $2 .padStart(3, 0 ...
now there is a requirement that the name should have the following rules A sequence of 4x32 characters starting with a letter, which cannot contain Chinese, but can be uppercase and lowercase characters, numbers, underscores, hyphens, dots . How should ...
problem description validate the entered data. You can only enter data between 0 and 1. 0 cannot be entered, 1 can be entered, and there are only 2 decimal places. How to write a regular expression with only 2 decimal places? 0.0 and 0.00 also fail v...
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 =? ...
in markdown, = = big = = I want to parse it into & ltdel > big & lt del >, how to analyze it? I want to know the principle. I looked for other people s cases on the Internet, but I didn t understand them too well. I would like to ask if there is a ...
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...
javascript:repalce (regEx,Fn) how to get the value of arguments in the callback function Fn () sources of topics and their own ideas an example in the extension of regular expression in Chapter 5 of Ruan Yifeng s introduction to ES6, runtime erro...
for example: aa A1:B2 v2VR b3 want to get: aa A1:B2 v2VR b3 ...
var str= <iframe frameborder="0" width="640" height="498" src="https: v.qq.com iframe player.html?vid=a0678a3ahqx&tiny=0&auto=0" allowfullscreen="">< iframe><iframe frameborder=&q...
Raw data: n2412 n : n2 ... : ...
var reg = (^1[3456789] d{9}$)|( w+([-+.] w+)*@ w+([-.] w+)* . w+([-.] w+)*) reg.test( 13807011234 ); false reg.test( 111@qq.com ); true var reg = (^1[3456789] d{...
has the following array [ {name: , age: 15}, {name: , age: 14}, {name: , age: 13}, {name: , age: 22}, {name: , age: 16}, {name: , age: 18}, ] can we use regular and findIndex-like methods to match all index? with ...
problem description I need to make a return dataset, which is an object array awardList, in which each object has className property and stuInfo property, stuInfo property is an object array, and then the object properties in it are name and awardInfo...
the letters on the right side of the iPhone cannot be displayed, but can be displayed when you slide. In implementation, it exists at the bottom of the page when you first enter the page, and the use of z-index does not work. What caused it? ...
when vue acquires data, the first five items are obtained normally, and the sixth item reports an error . ...
can Mini Program use stomp.js protocol ...
report this error with pm2 logs main startup, but netstat-anp | grep port 80 is not occupied ...