[TYPO3-core] RFC: Support regular expressions in t3lib_matchCondition
Michael Stucki
michael at typo3.org
Tue Mar 7 20:46:11 CET 2006
One more feedback needed, please approve!
- michael
Michael Stucki wrote:
> This is a CVS patch request.
>
> It enables the matchWild function to match a regular expression.
> Theoretically, this is already possible, though not an elegant solution.
>
> The new patch changes the syntax of matchConditions to match using a
> simple wildcars OR (this is new) match against a PCRE regex IF the
> testString is wrapped in dashes (/).
>
> Documentation changes:
>
> TSref, section "globalString"
>
> - You have the options of putting a regular expression and/or "*" as a
> wildcard to the value.
> + You have the options of putting a "*" as a wildcard or using a PCRE
> style regular expression (must be wrapped in "/") to the value.
>
> - michael
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-team-core
mailing list