PHP Classes

jooRegexpr: Find tags with parameters in text

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 352 All time: 6,984 This week: 455Up
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

 

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:352
This week:0
All time:6,984
This week:455Up