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.
5853* sequence may not be in use.5854*5855* @since 4.0.05856*5857* @param string$spaces Regexp pattern for matching common whitespace characters.5858*/5859$spaces=apply_filters('wp_spaces_regexp','[\r\n\t ]|\xC2\xA0| ');5860}58615862return$spaces;5863}58645865/**
History
Introduced in 4.0.0. Unchanged from 6.7.7 through 7.1.0.