SproutCMS

This is the code documentation for the SproutCMS project

function __construct()

Constructor

Usage

void $TreenodeRegexMatcher->__construct ( string $key , mixed $regex [, string $flags ] );

Arguments

  1. string $key
    The key to search
  2. mixed $regex
    The regex to search with. Should not contain leading or trailing slashes.
  3. string $flags = i
    The regex flags to use. Defaults to 'i' (case-insensitive).

Return value

  • void