Top "String-matching" questions

String matching is the problem of finding occurrences of one string (“pattern”, “needle”) in another (“text”, “haystack”).

wrong parameter count for strstr()

I have built a nav menu in wordpres using a posts GUID, and post title, I am taking only part …

php regex string string-matching strstr
Using Rabin-Karp to search for multiple patterns in a string

According to the wikipedia entry on Rabin-Karp string matching algorithm, it can be used to look for several different patterns …

algorithm hash language-agnostic string-matching rabin-karp
How to compare and convert emoji characters in C#

I am trying to figure out how to check if a string contains a specfic emoji. For example, look at …

c# unicode string-matching emoji double-byte
Log4Net StringMatchFilter is not filtering anything

I'm logging all SQL generated by nHibernate because we have a weird issue. This alone generates huge logs so I'm …

.net nhibernate log4net filtering string-matching
R: Replacing foreign characters in a string

I'm dealing with a large amount of data, mostly names with non-English characters. My goal is to match these names …

r string-matching
Efficient string matching in Apache Spark

Using an OCR tool I extracted texts from screenshots (about 1-5 sentences each). However, when manually verifying the extracted text, …

python apache-spark pyspark string-matching fuzzy-search
Dart: RegExp by example

I'm trying to get my Dart web app to: (1) determine if a particular string matches a given regex, and (2) if …

regex dart string-matching
Normalizing the edit distance

I have a question that can we normalize the levenshtein edit distance by dividing the e.d value by the …

algorithm string-matching ranking levenshtein-distance edit-distance
Search a particular string in a vector(Octave)

I am trying to find a string in a vector. For Eg:query = "ab" in vector = ["ab", "cd", "abc", "cab"] …

octave string-matching
r dplyr ends_with multiple string matches

Can I use dplyr::select(ends_with) to select column names that fit any of multiple conditions. Considering my column …

r select dplyr string-matching ends-with