Alexandru schrieb am Dienstag, 24. Mai 2022 um 19:10:38 UTC+2:
Using the TreeCtrl package I just stumbled upon an error when doing something like:Here is the very fast answer from Tim Baker:
$tree item id [list 0 descendants tag {test(1)^.inp}]
The error sounds:
Invalid boolean operator in tag search expression
If I either omit the parentheses or the ^, the error is gone.
The problem is that I add names of real files to the tree tags, so I cannot avoid this error.
Is there a fix for this?
Many thanks.
Best regards
Alexandru
Tag operators may be bypassed completely by setting the -columntagexpr and -itemtagexpr options. This can be useful if your application has column or item tags containing arbitrary text.
.t configure -itemtagexpr false
.t item delete "tag a&&b"
Hope this is helpfull to others having the same issue.
Using the TreeCtrl package I just stumbled upon an error when doing something like:Here is the very fast answer from Tim Baker:
$tree item id [list 0 descendants tag {test(1)^.inp}]
The error sounds:
Invalid boolean operator in tag search expression
If I either omit the parentheses or the ^, the error is gone.
The problem is that I add names of real files to the tree tags, so I cannot avoid this error.
Is there a fix for this?
Many thanks.
Best regards
Alexandru
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 485 |
Nodes: | 16 (2 / 14) |
Uptime: | 131:31:52 |
Calls: | 9,655 |
Calls today: | 3 |
Files: | 13,707 |
Messages: | 6,166,553 |