regexp = ($bool) ? '/\\\\./su' : '/\\\\[-!#()*+.:<>@[\\\\\\]^_`{|}~]/'; } /** * {@inheritdoc} */ protected function setUp() { // Set the default regexp $this->escapeAll(false); // Create the tag $tag = $this->configurator->tags->add($this->tagName); $tag->rules->disableAutoLineBreaks(); $tag->rules->ignoreTags(); $tag->rules->preventLineBreaks(); $tag->template = ''; } }