PHP Classes
elePHPant
Icontem

jooRegexpr: Find tags with parameters in text

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 (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-05-16 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 350 All time: 6,425 This week: 1,336Up
Version License PHP version Categories  
jooregexpr 1.0.0GNU General Publi...5.0PHP 5, Text processing
Description Author  

This class can find tags with parameters in text.

It uses regular expressions to find a tag with a given name. By default the format of the tag is {tag parameter=value ...}. The search regular expression can be customized to find tags with a different format.

The class returns a list of objects that represent each tag that was found. the block object may return a list of tag parameters.

The main class can also return the whole text of the found tag so it can be replaced by some text that expands the tag to something else.

Picture of Viet Vu
Name: Viet Vu <contact>
Classes: 2 packages by
Country: Viet Nam Viet Nam
Age: ???
All time rank: 15785 in Viet Nam Viet Nam
Week rank: 843 Up8 in Viet Nam Viet Nam Down

  Files folder image Files  
File Role Description
Plain text file regexpr.php Class jooRegexpr

 Version Control Unique User Downloads Download Rankings  
 0%Total:350All time:6,425
 This week:0This week:1,336Up