protected function prepare_regex() {
		$extra = '';
		if ( '' !== $this->additionalWordDelimiters && \is_string( $this->additionalWordDelimiters ) ) {
			$extra = preg_quote( $this->additionalWordDelimiters, '`' );
		}

		return sprintf( $this->punctuation_regex, $extra );
	}
protected function prepare_regex() {
		$extra = '';
		if ( '' !== $this->additionalWordDelimiters && \is_string( $this->additionalWordDelimiters ) ) {
			$extra = preg_quote( $this->additionalWordDelimiters, '`' );
		}

		return sprintf( $this->punctuation_regex, $extra );
	}
protected function prepare_regex ( ) { $ extra = '' ; if ( '' !== $ this -> additionalWordDelimiters && \ is_string ( $ this -> additionalWordDelimiters ) ) { $ extra = preg_quote ( $ this -> additionalWordDelimiters , '`' ) ; } return sprintf ( $ this -> punctuation_regex , $ extra ) ; }
Prepare the punctuation regular expression.

Merges the existing regular expression with potentially provided extra word delimiters to allow.
This is done 'late' and for each found token as otherwise inline `phpcs:set` directives
would be ignored.

@return string
Prepare the punctuation regular expression .