Add trailing slash to _.escapeRegExp doc example. [ci skip]

This commit is contained in:
John-David Dalton
2014-09-14 16:21:22 -07:00
parent d85bb3bce1
commit 1ad65bb66b

View File

@@ -8139,8 +8139,8 @@
* @returns {string} Returns the escaped string. * @returns {string} Returns the escaped string.
* @example * @example
* *
* _.escapeRegExp('[lodash](http://lodash.com)'); * _.escapeRegExp('[lodash](http://lodash.com/)');
* // => '\[lodash\]\(http://lodash\.com\)' * // => '\[lodash\]\(http://lodash\.com/\)'
*/ */
function escapeRegExp(string) { function escapeRegExp(string) {
string = string == null ? '' : String(string); string = string == null ? '' : String(string);