DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   PHP (http://www.daniweb.com/forums/forum17.html)
-   -   php implementation of Boyer-Moor (http://www.daniweb.com/forums/thread111937.html)

nishanthaMe Mar 3rd, 2008 5:12 am
php implementation of Boyer-Moor
 
Hi guys
I just trying to do some string matching and I want to use boyer-moor algorithm. What I am doing is, read a file from fopen() and searching counting the word "table" in the file.Can any one let me know a palce where a php implementation of boyer-moor algorithm can be located.
Cheers
nishantha

petr.pavel Mar 13th, 2008 6:31 pm
Re: php implementation of Boyer-Moor
 
Hi nishanthaMe,
this is a last-hope advice.
I found on Wikipedia that Wikipedia itself uses this algorithm:
http://en.wikipedia.org/wiki/Boyer%E...arch_algorithm
So you could download Wikipedia source code and find it in there.


All times are GMT -4. The time now is 1:51 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC