Login   Register  
PHP Classes
elePHPant
Icontem

udPattern: A simple way to check strings against patterns.

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-07-06 (11 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 632 All time: 4,524 This week: 1,637Up
Version License Categories  
udpattern 1.0Free for non-commercial...Text processing
Description Author  
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.
Picture of Thomas Björk
Name: Thomas Björk <contact>
Classes: 9 packages by
Country: Sweden Sweden
Age: 46
All time rank: 1781 in Sweden Sweden
Week rank: 357 Down2 in Sweden Sweden Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example A quick example
Accessible without login Plain text file readme.txt Doc. Quick documentation
Plain text file udpattern.php Class Implements the class udPattern

 Version Control Unique User Downloads Download Rankings  
 0%Total:632All time:4,524
 This week:0This week:1,637Up