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.
5842* sequence may not be in use.5843*5844* @since 4.0.05845*5846* @param string$spaces Regexp pattern for matching common whitespace characters.5847*/5848$spaces=apply_filters('wp_spaces_regexp','[\r\n\t ]|\xC2\xA0| ');5849}58505851return$spaces;5852}58535854/**
History
Introduced in 4.0.0. Unchanged from 6.7.7 through 7.1.0.