diff --git a/editions/tw5.com/tiddlers/releasenotes/5.4.0/#8972 - parenthesised-field-names.tid b/editions/tw5.com/tiddlers/releasenotes/5.4.0/#8972 - parenthesised-field-names.tid new file mode 100644 index 000000000..f15df5f1d --- /dev/null +++ b/editions/tw5.com/tiddlers/releasenotes/5.4.0/#8972 - parenthesised-field-names.tid @@ -0,0 +1,20 @@ +title: $:/changenotes/5.4.0/#8972/impacts/parenthesised-field-names +changenote: $:/changenotes/5.4.0/#8972 +created: 20260609193636000 +modified: 20260609193636000 +tags: $:/tags/ImpactNote +impact-type: compatibility-break +description: A field name containing round brackets can no longer be used as a filter operator suffix, because `(` now starts a multi value variable operand. + +Two filter operators take a field name in the suffix position: `regexp` and `search`. Up to 5.3.8 such a field name could contain round brackets, for example: + +``` +[regexp:_cd-work(s)[(?i)suite]] +[search:_cd-work(s)[suite]] +``` + +In 5.4.0 the new `(varname)` operand syntax for [[Multi-Valued Variables]] makes `(` start an operand. The parser now splits such a field name at the `(`, so the filter no longer matches. + +This will not be fixed. The two readings of `field(x)`, a field named `field(x)` versus the field `field` with the operand `(x)`, are genuinely ambiguous, so `(` and `)` are reserved in filter operator names and suffixes from 5.4.0 onwards. + +Workaround: do not use `(` or `)` in field names that are referenced as a filter operator suffix. Rename the field, for example `_cd-works`. diff --git a/editions/tw5.com/tiddlers/wikitext/Description Lists in WikiText.tid b/editions/tw5.com/tiddlers/wikitext/Description Lists in WikiText.tid index 6aa4be904..619be20ba 100644 --- a/editions/tw5.com/tiddlers/wikitext/Description Lists in WikiText.tid +++ b/editions/tw5.com/tiddlers/wikitext/Description Lists in WikiText.tid @@ -7,7 +7,7 @@ type: text/vnd.tiddlywiki !! Basic syntax -HTML description lists (AKA definition lists) are created with this syntax: +HTML description lists (AKA definition lists) are created with this syntax: <AKA definition lists) !! Multiple terms and descriptions -You can create multiple descriptions for a term, or multiple terms for a single description: +You can create multiple descriptions for a term, or multiple terms with a single description: <> +">> \ No newline at end of file diff --git a/licenses/cla-individual.md b/licenses/cla-individual.md index 10f2b5a49..ba6fad2eb 100644 --- a/licenses/cla-individual.md +++ b/licenses/cla-individual.md @@ -650,4 +650,5 @@ Rishu kumar, @rishu-7549, 2025/10/25 Himmel, @NotHimmel, 2026/03/19 -@sean-clayton, 2026/05/16 \ No newline at end of file + +@vuktw, 2026/07/12