Source for file Address.php
Documentation is available at Address.php
* This class implements a Text_Wiki rule to find sections of the source
* text that are signatures. A signature is any line starting with exactly
* @author Michele Tomaiuolo <tomamic@yahoo.it>
* @version $Id: Address.php 222265 2006-10-23 13:11:27Z mic $
* The regular expression used to find source text matching this
var $regex = '/^--([^-].*)$/m';
* Generates a token entry for the matched text. Token options are:
* 'start' => The starting point of the signature.
* 'end' => The ending point of the signature.
* @param array &$matches The array of matches from parse().
* @return A delimited token number to be used as a placeholder in
$start = $this->wiki->addToken (
$this->rule, array ('type' => 'start')
$end = $this->wiki->addToken (
$this->rule, array ('type' => 'end')
return "\n" . $start . trim($matches[1 ]) . $end;
Documentation generated on Mon, 11 Mar 2019 15:40:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|