Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Fast common substring matching

by BrowserUk (Pope)
on Aug 24, 2005 at 13:39 UTC ( #486178=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    P:\test>type duptest.dat
    >string1
    ...
    Best match: >string1 - >string2. 17 characters starting at 0 and 47.
    Best match: >string1 - >string3. 17 characters starting at 0 and 47.
    Best match: >string2 - >string3. 17 characters starting at 0 and 0.
    
  2. or download this
    P:\test>484593-5 duptest.dat
    000:001 L[017]
    ...
             (0000,0047)'AAAAAAAAAAAAAAAAA'
             (0047,0000)'TTTTTTTTTTTTTTTTT'
      3 trials of duptest.dat (    323us total), 107us/trial
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://486178]
help
Chatterbox?
[Tux]: expand on that? actually calculate the formula? I see you are kidding, but I want to know what people might want
[Tux]: no special behavior. it is (for CSV) just a string as everything else
[Tux]: PM is slooooooooow. causes questions and answers to get out of sync
[1nickt]: Tux How is the danger ameliorated in, eg.g, MS Excel? Some sort of sandbox with rules?
[1nickt]: Tux is cbstream working for you?
[Tux]: I have no idea! Read this article
[choroba]: yes, if the formula contains just +, -, *, /, and digits, calculate it, otherwise fail, or something like that.
[choroba]: or detection of malicious strings like | cmd or what was the security issue about.
[choroba]: re slow PM, yesterday half of my clicks in RATS ended in request timeout.
[Tux]: 1nickt - yes, it works oké

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-10-18 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (244 votes). Check out past polls.

    Notices?