Quick Search for:  in language:    
boolean,parser,like,seen,search,engines,able,
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Perl Stats

 Code: 75,331. lines
 Jobs: 26. postings

 How to support the site

 
Sponsored by:

 
You are in:
 
Login





Latest Code Ticker for Perl.
Message Sender
By sp on 1/15


Click here to see a screenshot of this code!Mailing List v2.0
By Aaron L. Anderson on 1/7

(Screen Shot)

ShowIMG
By Jeff Mills on 1/5


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!

Affiliate Sites



 
 
   

A Boolean Expression Parser (like search engines, nested brackets), very useful

Print
Email
 
winzip icon
Submitted on: 8/1/2002 3:33:59 AM
By: Ashley Harris 
Level: Intermediate
User Rating: By 2 Users
Compatibility:5.0 (all versions), Active Perl specific

Users have accessed this code 1985 times.
 

(About the author)
 
     A boolean parser, like that seen in search engines. able to process expressions like: animals and ((cats or feline) or (dogs or canine)) and "is cuddly" Very usefull code. (vote is appreciated)
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 1 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
8/1/2002 5:31:53 AM:Akujin
You can't FORCE others to vote for your 
material. it only makes them want to 
vote less. And you obviously have no 
means of stopping them.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/15/2002 8:30:57 PM:cylex
why not create a demo site ??? It's 
will let us to see what your script 
works. :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/22/2002 9:40:13 AM:Ashley Harris
um, sorry about not setting up a demo 
site. I jsut can't seem to find a free 
perl supporting webserver that remains 
up for more then about 2 
months.
Anyway, if you want a 
webserver, I have a version of my 
webserver on PSC in the vb section. 
that runs perl.
Enjoy it! and vote 
for it!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/29/2002 8:55:29 AM:Serge
Your perl code uses vbCr, vbLf and 
vbTab as constants. You probably looked 
over it in the conversion. Perl needs 
\r, \n and \t of course..
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/19/2002 1:31:54 PM:
I have downloaded and I put in the 
server, but doesn't search any 
keyword.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/19/2002 1:42:44 PM:
As I said I have uploded to the server, 
and I have changed the data.txt file 
and I have included a keyword 
"Coffe".
When I tried to search for 
a coffe, it doesnt show anything 
related to the coffe.
you can check 
that by following the 
link:
http://www.itprovider.co.uk/cgi-b
in/search.pl
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Perl Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.