public function __construct($configuration, $wildcard, $anyCharactersOnLeft = FALSE, $anyCharactersOnRight = FALSE)
 {
     parent::__construct($configuration);
     $this->wildcard = StringHelper::trim($wildcard);
     $this->anyCharactersOnLeft = $anyCharactersOnLeft;
     $this->anyCharactersOnRight = $anyCharactersOnRight;
 }
 public function __construct($configuration, $pattern)
 {
     parent::__construct($configuration);
     $this->pattern = StringHelper::trim($pattern);
 }
    public function __construct($configuration, $from = NULL, $to = NULL) {
        parent::__construct($configuration);

        $this->from = StringHelper::trim($from);
        $this->to = StringHelper::trim($to);
    }