public function __construct($option = null) { $this->options['regexgenerator'] = $option['regexgenerator']; $this->options['expression'] = $option['expression']; }