From 053161ccf17f6016f91a9dbc66bdeaf405b62e77 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 30 Sep 2012 22:52:34 -0700 Subject: [PATCH] Cleanup `settings=..` build option usage. --- README.md | 2 +- build.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b41446af78..94f392c36b 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 e286e1877f..b601c88cdd 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.',