diff --git a/README.md b/README.md index d38553354..9c93a10ee 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ lodash template="./*.jst" * Use the `settings` argument to pass the template settings used when precompiling templates. ```bash -lodash settings="{interpolate:/\\{\\{([\\s\\S]+?)\\}\\}/g}" +lodash settings="{interpolate:/\{\{([\s\S]+?)\}\}/g}" ``` * Use the `moduleId` argument to specify the AMD module ID of Lo-Dash, which defaults to “lodash”, used by precompiled templates. diff --git a/build.js b/build.js index e50486a68..7bfa9104a 100755 --- a/build.js +++ b/build.js @@ -579,7 +579,7 @@ ' lodash template=... File path pattern used to match template files to precompile', ' (e.g. `lodash template=./*.jst`)', ' lodash settings=... Template settings used when precompiling templates', - ' (e.g. `lodash settings="{interpolate:/\\\\{\\\\{([\\\\s\\\\S]+?)\\\\}\\\\}/g}"`)', + ' (e.g. `lodash settings="{interpolate:/\\{\\{([\\s\\S]+?)\\}\\}/g}"`)', ' lodash moduleId=... The AMD module ID of Lo-Dash, which defaults to “lodash”, used by precompiled templates', '', ' All arguments, except `legacy` with `csp` or `mobile`, may be combined.',