Pattern List

Category: Python - Miscellaneous

I found my self want to express -string- in -list of regular expressions- and so I wrote this quick object to do the trick for me. It takes a list of strings containing regular expressions, compiles them into an internal list and then using the __contains__ operation ("in") looks to see if a given string contains any of the expressions. The first success returns True otherwise it returns False. Date: 22 May, 2012


Search

Homepage: http://code.activestate.com/recipes/442497-pattern-list/?in=lang-python

Developer: mark williamson

License: Python License

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Gruve's FREE Link Directory Manager component allows webmasters to easy add a full featured Link Directory manager to their web site.

developer Developer: Paul Christenbury
license License: Freeware
operating systems Operating System: Windows


Tipue is an open source JavaScript site search engine.

developer Developer: Tri-State Consultants
license License: GNU General Public License (GPL)
operating systems Operating System: All


PHP meta tag generator offering a wide range of tags including MS Smart tag blocking.

developer Developer: Michele Neylon
license License: GNU General Public License (GPL)
operating systems Operating System: Unix/Windows


phpMyDesktop|arcade is a mix between a message board, the game of life and card/board games.

developer Developer: Fredi Bach
license License: GNU General Public License (GPL)
operating systems Operating System: Apache, PHP, mySQL


Open Source Web Search Engine.

developer Developer: shen139
license License: GNU General Public License (GPL)
operating systems Operating System: Win, UNIX


DataparkSearch Engine is a full-featured open sources web-based search engine released under the GNU General Public License and designed to organize search within a website, group of websites, intranet or local system.

developer Developer: Maxim Zakharov
license License: GNU General Public License (GPL)
operating systems Operating System: Platform Independent


ASPSeek is an Internet search engine.

developer Developer: SWsoft
license License: GNU General Public License (GPL)
operating systems Operating System: Platform Independent


This hack allows you to add a cookie/header to a SOAPpy request.

developer Developer: Gopal Vijayaraghavan
license License: Python License
operating systems Operating System: Windows


Have you ever tried to log an exception of unknown type.

developer Developer: Dmitry Dvoinikov
license License: Python License
operating systems Operating System: Windows