Public Member Functions | |
| getPattern ($text, $pattern, $casesensitive=true) | |
| getPatterns ($text, $pattern, $casesensitive=true) | |
Definition at line 15 of file simpleparseutility.php.
| getPattern | ( | $ | text, | |
| $ | pattern, | |||
| $ | casesensitive = true | |||
| ) |
cut out a text depending on a searchpattern. example: text is "abcdefghij", searchpattern is "ab*fg", then result is "cde"
| string | $text text to search in | |
| string | $pattern pattern to search in text |
Definition at line 27 of file simpleparseutility.php.
Referenced by getPatterns().

| getPatterns | ( | $ | text, | |
| $ | pattern, | |||
| $ | casesensitive = true | |||
| ) |
cut out text depending on pattern, multiple wildcards allowed example: text is "abcdefghij", searchpattern is "ab*fg*ij", then result is array("cde","h")
| string | $text text to search in | |
| string | $pattern pattern to search in text |
Definition at line 64 of file simpleparseutility.php.
References getPattern().

1.5.8