Docs: Remove extra spaces from @param tags.

Per the documentation standards, `@param` tags should be aligned with each other, but not with the `@return` tag.

See #49572.
Built from https://develop.svn.wordpress.org/trunk@48110


git-svn-id: http://core.svn.wordpress.org/trunk@47879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2020-06-20 12:58:10 +00:00
parent b16368c268
commit be16bb9fba
35 changed files with 181 additions and 180 deletions

View File

@@ -52,9 +52,9 @@
/**
* Escapes characters for use in a Regular Expression.
*
* @param {String} string Characters to escape
* @param {String} string Characters to escape
*
* @return {String} Escaped characters
* @return {String} Escaped characters
*/
function escapeRegExp( string ) {
return string.replace( /[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&' );