PHP Classes
Icontem

Class: udPattern


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Thomas Björk  >  udPattern  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: udPattern Support forum
Base name: udpattern
Description: A simple way to check strings against patterns.
Version: -
Required PHP version: -
License: Free for non-commercial use
All time users: 608 users
All time rank: 3351
Week users: 0 users
Week rank: 3808
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Thomas Björk
Name: Thomas Björk <e-mail contact>
Published packages: 5 Browse this author's classes Browse this author's classes
Country: Sweden Sweden - PHP jobs in Sweden
Home page: ???
Age: 41
All time rank: 239
Week rank: 255

Groups

Group folder image Text processing Manipulating and validating text data View top rated classes

Detailed description

udPattern allows you to store patterns and to check strings against them. It should be perfect for matching URLs and filenames.

Just register the patterns you want to use and then call the TestPattern function to check if it is a valid string. You can use accept(+) or reject(-) to all patterns as well as wildcards.

If you are experienced with regular expressions you might do it faster but probably not as easy.

User ratings

Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file example.php Example A quick example
Plain text file readme.txt Doc. Quick documentation
Plain text file udpattern.php Class Implements the class udPattern
Download all files: udpattern.tar.gz udpattern.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products