Function tln_findnxreg
This function takes a PCRE-style regexp and tries to match it within the string.
Located at
extras/htmlfilter.php
Parameters summary
string |
$body |
The string to look for needle in. |
integer |
$offset |
Start looking from here. |
string |
$reg |
A PCRE-style regex to match. |
Return value summary
array|boolean
|
Returns a false if no matches found, or an array with the following members: - integer with the location of the match within $body - string with whatever content between offset and the match - string with whatever it is we matched |