Top "Matching" questions

For questions related to pattern matching, using character sequences or tree structures.

How can I pair socks from a pile efficiently?

Yesterday I was pairing the socks from the clean laundry and figured out the way I was doing it is …

algorithm sorting language-agnostic matching
Check if value exists in column in VBA

I have a column of numbers of over 500 rows. I need to use VBA to check if variable X matches …

excel vba matching
String Pattern Matching In Java

I want to search for a given string pattern in an input sting. For Eg. String URL = "https://localhost:8080/sbs/01.00/…

java string matching
Find which rows have different values for a given column in Teradata SQL

I am trying to compare two addresses from the same ID to see whether they match. For example: Id Adress …

sql join teradata rows matching
How do I do a fuzzy match of company names in MYSQL with PHP for auto-complete?

My users will import through cut and paste a large string that will contain company names. I have an existing …

mysql string matching fuzzy-search
Finding words after keyword in python

I want to find words that appear after a keyword (specified and searched by me) and print out the result. …

python regex matching keyword
Matching numbers with regular expressions — only digits and commas

I can't figure out how to construct a regex for the example values: 123,456,789 -12,34 1234 -8 Could you help me?

.net regex numbers matching
Compare Python Pandas DataFrames for matching rows

I have this DataFrame (df1) in Pandas: df1 = pd.DataFrame(np.random.rand(10,4),columns=list('ABCD')) print df1 A B …

python pandas rows matching
Matching multiple columns on different data frames and getting other column as result

I got two big data frames, one (df1) has this structure chr init 1 12 25289552 2 3 180418785 3 3 180434779 The other (df2) has this V1 V2 …

r dataframe matching multiple-columns
Recursive listing of all files matching a certain filetype in Groovy

I am trying to recursively list all files that match a particular file type in Groovy. This example almost does …

recursion groovy matching