From 1ad65bb66b39b8ffd91c243d47a32fb88fc312d5 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 14 Sep 2014 16:21:22 -0700 Subject: [PATCH] Add trailing slash to `_.escapeRegExp` doc example. [ci skip] --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index 11f285ca3..7f0403b84 100644 --- a/lodash.js +++ b/lodash.js @@ -8139,8 +8139,8 @@ * @returns {string} Returns the escaped string. * @example * - * _.escapeRegExp('[lodash](http://lodash.com)'); - * // => '\[lodash\]\(http://lodash\.com\)' + * _.escapeRegExp('[lodash](http://lodash.com/)'); + * // => '\[lodash\]\(http://lodash\.com/\)' */ function escapeRegExp(string) { string = string == null ? '' : String(string);