Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Fuzzy Searching: Optimizing Algorithm Selection

by ikegami (Patriarch)
on Nov 11, 2004 at 00:14 UTC ( [id://406855]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ^
    (?:a|(?(?{ local $fuzzies = $fuzzies; !$fuzzies-- })(?=A)(?=Z)).)
    ...
    (?:e|(?(?{ local $fuzzies = $fuzzies; !$fuzzies-- })(?=A)(?=Z)).)
    (?{ $fuzzies_left = $fuzzies })
    $
    
  2. or download this
    our $USE_A_FUZZY =
       '(?(?{ local $fuzzies = $fuzzies; !$fuzzies-- })(?=A)(?=Z))';
    ...
    Fuzzy match with brple (2 fuzzies).
    No match with brqle.
    No match with orange.
    
  3. or download this
    ^
    (?:a|(?(?{!$fuzzies--})(?=A)(?=Z)).)
    ...
    (?:l|(?(?{!$fuzzies--})(?=A)(?=Z)).)
    (?:e|(?(?{!$fuzzies--})(?=A)(?=Z)).)
    $
    
  4. or download this
    our $USE_A_FUZZY = '(?(?{!$fuzzies--})(?=A)(?=Z))';
    
    ...
          }
       }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://406855]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-04-18 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found