Most voted "expressions" questions
15 questions
Sort by count of
-
7
votes1
answer180
viewsDoes Regular Expression vary according to language?
Most languages have support for Regex (Regular Expressions) but, for example, Javascript does not have Negative Lookhead ((?<) , however already . NET Framework has virtually all functions of…
-
6
votes5
answers1021
viewsPick first name with Regular Expression
I need to get the first name with regular expression, only I’m not getting it right. Today I use the code like this: <?php preg_match('/[[:alnum:]]+/i', 'Alisson Acioli', $matches); return…
-
5
votes2
answers378
viewsHow does PHP treat temporary expression regarding memory?
In PHP, it is possible to iterate the elements of a array through the foreach, both with the variable that contains it and with what PHP called "Temporary array Expression". Example: $myArray = ['a'…
-
5
votes2
answers135
viewsWhile with incomprehensible format
My knowledge in java is very basic, before that I came across a question to which I have not found answer. The code snippet below is used in some of my applications: File arquivo = new…
-
3
votes1
answer92
viewsHow to exchange terms in an Expression?
Based on the following reply in: How to Convert an Expression Tree to a partial SQL query?, I’m using a class inherited from ExpressionVisitor to try to treat some conditions in my expressions.…
-
3
votes1
answer84
viewsAsp.Net 5(Core 1.0) Class Library System.Text.Regularexpression
How to use the namespace System.Text.Regularexpression in Asp.Net 5, I’m with a project and went to upgrade it to Asp.net 5, my problem was that I can’t use regular expressions in it and n can…
-
3
votes2
answers1146
viewsHow to make a regular expression to remove only the hyphen without removing the hyphen arrow
I have the following expression: 00000-001->22222-222 I wish she’d stay like this: 00000001->22222222 I’ve tried so many ways on this website, but I’m not getting it.…
-
3
votes4
answers2332
viewsRegex to pick word between two words or "/"
Someone can help me, I would just take the word between resourceGroups and providers and assign to a variable in javascript.…
-
2
votes1
answer154
viewsValidate Google Site Verification URL with Regex
With $_SERVER['REQUEST_URI'] I capture the following address below! /google9f7804416f93fdd6b.html I need to perform a validation with ER, the function has to recognize the word Google the parâmetros…
-
2
votes2
answers674
viewsHow to use an iterator twice within an understanding?
Let’s say I have a list: lista = [(1,1), (1,2), (1,3), (2,6), (2,4), (3,1), (3,2)] And I want to know the maximum and minimum values of the second element, grouped by the first. That is to say: {…
-
2
votes2
answers133
viewsAny difference between the two expressions?
int p=4,u=12; System.out.println(p=u); System.out.println(p=+u); I don’t understand the difference between the two expressions?
-
1
votes1
answer62
viewsultrasonic sensor programming
Hi, I need to do programming where I have 2 sensors one input and the other output, when the object goes through sensor 1 it, the motor will turn on, when it goes through sensor 2, the motor will…
expressionsasked 6 years, 5 months ago geovanni -
0
votes2
answers59
viewsCreate expressions in strings
Suppose I have the following string: const str = `Eu sou @if (1 + 1 === 2): um dois @endif !`; How do I execute expressions like that if? I don’t want a solution to exactly that problem, just the…
-
0
votes0
answers23
viewsWhat are "expressions" in javascript?
I would like to know what are "expressions" and "primary expressions" in javascript. The Mozilla as an example of expression x = 7 and 3 + 4, but in the "primary expressions" part it shows the…
-
-4
votes1
answer76
viewsHow to use regular expressions?
I have a string with this value: Romania","PROXY_IP":"93.118.243.19","PROXY_LAST_UPDATE Indonesia","PROXY_IP":"117.102.88.121","PROXY_LAST_UPDATE…