From 2f32a80440f735864dbc314ad78afd1063fa3357 Mon Sep 17 00:00:00 2001 From: Dan Allen <dan.j.allen@gmail.com> Date: Wed, 3 Feb 2021 00:36:00 -0700 Subject: [PATCH] clarify that a negated tag selects all lines that do not contain a tag directive --- CHANGELOG.adoc | 1 + modules/directives/pages/include-tagged-regions.adoc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 3ba86be..51787e3 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -8,6 +8,7 @@ https://github.com/asciidoctor/asciidoc-docs/commits/main[commit history]. Fixed:: * Rewrite much of link-macro-attribute-parsing.adoc to reflect the simplified parsing behavior implemented in https://github.com/asciidoctor/asciidoctor/issues/2059. +* Clarify that a negated tag selects all lines except for those lines containing a tag directive (not simply all lines as it previously suggested) == Published Q4 2020 diff --git a/modules/directives/pages/include-tagged-regions.adoc b/modules/directives/pages/include-tagged-regions.adoc index 21971bc..8ca26a4 100644 --- a/modules/directives/pages/include-tagged-regions.adoc +++ b/modules/directives/pages/include-tagged-regions.adoc @@ -129,5 +129,6 @@ Here are some of the permutations that you can use: There are also some shorthands if only exclusions are specified: -`!foo`:: Equivalent to `**;!foo`; an exclusion without an inclusion implicitly starts by selecting all the lines. +`!foo`:: Equivalent to `**;!foo`; an exclusion without an inclusion implicitly starts by selecting all the lines that do not contain a tag directive. + `!*`:: Equivalent to `+**;!*+`; only selects regions that are not tagged. -- GitLab