diff --git a/README.md b/README.md index b41446af7..94f392c36 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ lodash template="./*.jst" * Use the `settings` argument to pass the template settings used when precompiling templates ```bash -lodash settings="{interpolate:/\\{\\{(.+?)\\}\\}/g}" +lodash settings="{interpolate:/\\{\\{([\\s\\S]+?)\\}\\}/g}" ``` All arguments, except `legacy` with `csp` or `mobile`, may be combined.
diff --git a/build.js b/build.js index e286e1877..b601c88cd 100755 --- a/build.js +++ b/build.js @@ -369,7 +369,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:/\\{\\{(.+?)\\}\\}/g}"`)', + ' (e.g. `lodash settings="{interpolate:/\\\\{\\\\{([\\\\s\\\\S]+?)\\\\}\\\\}/g}"`)', '', ' All arguments, except `legacy` with `csp` or `mobile`, may be combined.', ' Unless specified by `-o` or `--output`, all files created are saved to the current working directory.',