Posts by Mateus • 369 points
8 posts
-
2
votes3
answers158
viewsA: How do I marry this range of elements?
Since no one has yet published an answer on how to do this in Javascript pure, I’ll be leaving my answer here too in case anyone needs it. var txt = "a) texto <br /> texto texto texto <br…
-
2
votes1
answer52
viewsA: Update class fields with sequential names
I understand what you are trying to do, but Java does not work like this. When using txtEsp[i], you are referencing a position i to a vector called txtEsp, and not for the name of the variable in…
-
3
votes1
answer156
viewsA: Autocomplete with two types of data
Using the regular expression of @danieltakeshi, you can split the data into: match[1]=>"%EMPRESA% " <- Note a presença de um espaço aqui match[2]=>"%CNPJ%" But it would also be possible,…
-
0
votes1
answer80
viewsA: Search file via file_exists with partial name
Unfortunately, you will not be able to get the file from another regex server. The only easy and practical way to solve this problem is by using glob, but the directory listing should be active. If…
-
8
votes1
answer182
viewsA: Python: is not turning my regex’s Character class into negative
Your 2nd datum answers your own question. Macos actually works with modifiers, which actually uses other character types for accentuation, for example: (Macos) ˆ (U+02C6) MODIFIER LETTER CIRCUMFLEX…
-
2
votes1
answer216
viewsA: Regex PHP problems
There are two errors in your Pattern that when passing to PHP can cause this error. The first one is very simple. • Your PHP code is being handled with formatting ASCII, and its text has special…
-
0
votes2
answers1092
viewsA: Jquery load div auto scroll
The function you seek is that one: function descer(){ var elm = $('.chat'); var height = elm[0].scrollHeight; elm.scrollTop(height); } She will be responsible for getting her class element chat, and…
-
3
votes1
answer205
viewsA: How to create groups in regex to validate password criteria in Elixir?
To create the desired expression, you must use the Positive Lookaheads ((?=...)), as you may have noticed. However, you are using it incorrectly. To add criteria without a specific order, your…