"Near match" pattern matching.

2001-11-01 Thread Matt Klicka
I'm looking for some ideas on how to do a "near match" or "fuzzy logic" pattern match. Something that will say, for example, that two strings 80% match. I was thinking that spell checkers and search engines use this kind of thing all the time. Do they have a really repetative match (or a really co

Special characters from perl to MySQL

2001-10-18 Thread Matt Klicka
I'm trying to enter data into MySQL and can't seem to be able to enter the question mark and the quote characters. I've tried every way of quoting (and backslashing) I can think of to no avail. With the quote I get an error from MySQL saying the query was bad (i.e. the query ended at the quote) an