Filters the regexp for common whitespace characters.
Description
This string is substituted for the s sequence as needed in regular expressions. For websites not written in English, different characters may represent whitespace. For websites not encoded in UTF-8, the 0xC2 0xA0 sequence may not be in use.
Parameters
$spacesstring
Regexp pattern for matching common whitespace characters.
5944* sequence may not be in use.5945*5946* @since 4.0.05947*5948* @param string$spaces Regexp pattern for matching common whitespace characters.5949*/5950$spaces=apply_filters('wp_spaces_regexp','[\r\n\t ]|\xC2\xA0| ');5951}59525953return$spaces;5954}59555956/**
History
Introduced in 4.0.0. Unchanged from 6.7.7 through 7.1.0.