From 6e95c16da62b5071d9e8580d84037fd2b4e92aee Mon Sep 17 00:00:00 2001 From: alexlamsl Date: Sat, 15 Apr 2017 16:00:37 +0800 Subject: [PATCH] update documentation fixes #465 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e46aa017..f1c0cc5e 100644 --- a/README.md +++ b/README.md @@ -538,8 +538,8 @@ You can pass `--comments` to retain certain comments in the output. By default it will keep JSDoc-style comments that contain "@preserve", "@license" or "@cc_on" (conditional compilation for IE). You can pass `--comments all` to keep all the comments, or a valid JavaScript regexp to -keep only comments that match this regexp. For example `--comments -'/foo|bar/'` will keep only comments that contain "foo" or "bar". +keep only comments that match this regexp. For example `--comments /^!/` +will keep comments like `/*! Copyright Notice */`. Note, however, that there might be situations where comments are lost. For example: