From d6d065cd616f58a3cabb5767ff1d64a0a376a8c1 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. Former-commit-id: 33506d9cfc2101cba8d160169c5d27861f8c7064 --- README.md | 2 +- build.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.',