the requirement is that the AutoComplete component of Vue input abc will go to the background to take out all the existing abc (case-insensitive) and highlight highlightData: function (data, propShow, propOrigin, highlight) { data.forEach(ite...
for example, the server has been attacked recently. Check and find that there are many such requests. I am not good. Ask all kinds of gods to help write regular expressions to match . 11: index.php?s= Index x5Cthink x5Capp invokefunction&functio...
recently, regular matching is required for input: for example, input can only be 60G, 1T is preceded by a number, followed by a capacity unit; there is a 60G month; the front numerical unit of 50G half a year is also followed by this kind of control ...
five letter palindromes (words that are the same backwards as forwards) (kayak,dewed,eye,refer) I m a little confused about this question. I don t know how to write it ...
try to write down the calculator with JavaScript. Once the computational complexity comes up, such as the expression 1-(2 * (3-4) + 5 (6-7) + (- 8-9), it always enters an endless loop from all angles and consumes call stack resulting in an error. Is th...
The * symbol selects 0 or one or more given expressions, ? 0 or one symbol selected, *? This should be a non-greedy choice, with a single? Is there any difference? const tags = ^(area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|so...
the data I get is like this this is xml data <soapenv:Envelope xmlns:soapenv="http: schemas.xmlsoap.org soap envelope " xmlns:soapenc="http: schemas.xmlsoap.org soap encoding " xmlns:xsd="http: www.w3.org 2001 XMLSchema&...
let str = " " " " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " " " let obj = { text: , ...
var text = ` `; text.match( [ u4e00- u9fa5]+[ u4e00- u9fa5]+ g); ["", "", ""] the previous code matches some countries with horses in their names, but this only matches the "br " at the beginni...
has a string like this 000001 000002 I want to divide it into the form of stock symbol + company name by regular this is my regular re.split(" s+", string) but the segmented result is 000001 , 000002 , , ...
for example, extract all the seven digits at the beginning of 131 on this page without repeating <a href=" 1310280" title="1310280">1310280< a>< li><li><a href=" 1310281" title="1310281"...
for example, extract all the seven digits at the beginning of 131 on this page without repeating <a href=" 1310280" title="1310280">1310280< a>< li><li><a href=" 1310281" title="1310281"...
when collecting, there is a lot of a links in the crawled content! in which I want to get <ul class="list_box"> <li><a href="xxxx.html">xxxxx< a>< li> <li><a href="xxxx.html">xxxx...
var html = "111 222 333"; condition: use js regular to expect: an array [ 111 , 22 , 222, 33 ] ...
(Note: at least two strings are required, no more than 30 strings and at least two or more combinations are required, for example: A1 Magi AaMagi bA1 Magi A $) ...
ask that JS regular matching numbers can only be 8 digits or 11 digits, not 8 to 11 digits, either 8 digits or 11 digits. Nine or ten are not allowed. ...
the root of the problem lies in my carelessness, but there is something wrong with the port check I wrote. In the end, the numeric range check is used, which is very simple. Thank you for your comments for your good ideas. Thank you all for your good id...
RewriteRule ^products ([^ ]+) ([^ ]+)$ review product.php?prod_id=$1&red_id=$2 I set this rewrite but I just found a problem: there must be prod_id and red_id to I red_id is selective, prod_id is necessary so what I want to do is: when I ...
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 ...
^([a-z]+ .?)+[a-z0-9]+$ what is the meaning of this escape ...
uselessness uselessness ...
Uncaught TypeError: Cannot read property settings of undefined at Function.staticRules (jquery.validate.min.js:4) at m.fn.init.rules (jquery.validate.min.js:4) at HTMLInputElement.<anonymous> (jquery.validate.min.js:4) at jquery-1.11.1.min.js...
enter powershell using windows+R and then start homestead then open the terminal in phpstorm, which uses the installation path of powershell enter homestead ssh prompt not to start use homestead ssh in the outside powershell to connect; the ...
requirements: there is a table called the target table, where there are daily, weekly, and monthly goals for each employee. The fields in this table are roughly divided into four categories, each recording different aspects of performance, such as a re...
vue-tinymce-editor < tinymce id= "D1 " v code model = "data " > < tinymce > component becomes invalid when placed in < el-form > and becomes a pure textarea . It s normal to put it on the tag < el-form > . How to solve it? ...