Erebot  latest
A modular IRC bot for PHP 5.3+
Erebot\Event\Match\TextRegex Class Reference

A filter that matches the content of an event based on a regular expression. More...

+ Inheritance diagram for Erebot\Event\Match\TextRegex:

Protected Member Functions

 realMatch ($prefix, $text)
 
- Protected Member Functions inherited from Erebot\Event\Match\TextAbstract
 realMatch ($prefix, $text)
 

Additional Inherited Members

- Public Member Functions inherited from Erebot\Event\Match\TextAbstract
 __construct ($pattern, $requirePrefix=false)
 
 getPattern ()
 
 getPrefixRequirement ()
 
 match (\Erebot\Interfaces\Event\Base\Generic $event)
 
 setPattern ($pattern)
 
 setPrefixRequirement ($requirePrefix=false)
 
- Protected Attributes inherited from Erebot\Event\Match\TextAbstract
 $pattern
 Pattern used in comparisons, as a string.
 
 $requirePrefix
 Boolean or null indicating whether a prefix is required or not.
 

Detailed Description

A filter that matches the content of an event based on a regular expression.

Definition at line 28 of file TextRegex.php.


The documentation for this class was generated from the following file: