A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Manual:$wgSearchHighlightBoundaries below:

Manual:$wgSearchHighlightBoundaries - MediaWiki

Regexp to match word boundaries
Introduced in version: 1.13.0 (r34210) Removed in version: Still in use Allowed values: (regex string) Default value: (see below)

Regexp to match word boundaries, defaults for non-CJK languages should be empty for CJK since the words are not separate.

MediaWiki version:

1.39

$wgSearchHighlightBoundaries = '[\\p{Z}\\p{P}\\p{C}]';
MediaWiki versions:

1.18 – 1.38

$wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
MediaWiki versions:

1.13 – 1.17

$wgSearchHighlightBoundaries = version_compare("5.1", PHP_VERSION, "<")? '[\p{Z}\p{P}\p{C}]'
	: '[ ,.;:!?~!@#$%\^&*\(\)+=\-\\|\[\]"\'<>\n\r\/{}]'; // PHP 5.0 workaround

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4