matching (2,157)


Why doesn't SQL Full Text Indexing return results for words containing#?

Why doesn't SQL Full Text Indexing return results for words containing#?

For instance, my query is like the following using SQL Server 2005: SELECT*FROM Table WHERE FREETEXT(SearchField, 'c#') I have a full text index defined to use the column SearchField which returns…


SQL Server Escape an Underscore

How do I escape the underscore character? I am writing something like the following where clause and want to be able to find actual entries with_d at the end. Where Username Like '%_d'…


Complexity of Regex substitution

I didn't get the answer to this anywhere. What is the runtime complexity of a Regex match and substitution? Edit: I work in python. But would like to know in general about most popular languages/tool…


java - Using Regex to generate Strings rather than match them

I am writing a Java utility which helps me to generate loads of data for performance testing. It would be really cool to be able to specify a regex for Strings so that my generator spits out things wh…


How do I read in the contents of a directory in Perl?

How do I get Perl to read the contents of a given directory into an array? Backticks can do it, but is there some method using 'scandir' or a similar term?…


c# - Find number of files with a specific extension, in all subdirectories

Is there a way to find the number of files of a specific type without having to loop through all results inn a Directory.GetFiles() or similar method? I am looking for something like this: int Compon…


Does anyone have a good Proper Case algorithm

Does anyone have a trusted Proper Case or PCase algorithm(similar to a UCase or Upper)? I'm looking for something that takes a value such as "GEORGE BURDELL" or "george burdell" and turns it into "…


fuzzy search - Levenshtein distance based methods Vs Soundex

As per this comment in a related thread, I'd like to know why Levenshtein distance based methods are better than Soundex.…


duplicates - Tools for matching name/address data

Here's an interesting problem. I have an oracle database with name & address information which needs to be kept current. We get data feeds from a number of different gov't sources, and need to figure…


Approximate string matching algorithms

Here at work, we often need to find a string from the list of strings that is the closest match to some other input string. Currently, we are using Needleman-Wunsch algorithm. The algorithm often retu…





pattern string match regex find for python not multiple list