Top "Match" questions

A programming concept about finding results based on some kind of search.

Lua need to split at comma

I've googled and I'm just not getting it. Seems like such a simple function, but of course Lua doesn't have …

lua split match
Can we use match to check the type of a class

I'm new to scala, and I'm learning the match keyword now. I wanna know if we can use the keyword …

scala pattern-matching match
Finding occurrences of a word in a string in python 3

I'm trying to find the number of occurrences of a word in a string. word = "dog" str1 = "the dogs barked" …

python string count match
Find the first empty cell in the same column/row

I am trying to work out a formula that will give me the row number of the first empty cell …

excel excel-formula match cell
How to get a button's height to match another element's height?

I want to put a button next to a EditText and I want their heights to match. For example, from …

android layout height match
python find difference between two lists

I am new to programming but I keep learning, and recently I hit the wall so I'm asking for help. …

python list match
How to pass a variable into regex in jQuery/Javascript

Is there a way to pass a variable into a regex in jQuery/Javascript? I wanna do something like: var …

jquery regex match
Search and replace specific query string parameter value in javascript

I have a string which is something like this : a_href= "www.google.com/test_ref=abc"; I need to …

javascript search replace design-patterns match
javascript regex matching 3 digits and 3 letters

How to match word in string that contain exactly "3 digits and 3 letters"? e.g. 100BLA var regex = ?; var string = "word …

javascript regex match
Javascript Regexp loop all matches

I'm trying to do something similar with stack overflow's rich text editor. Given this text: [Text Example][1] [1][http://www.example.…

javascript regex loops match