[pve-devel] [PATCH docs v2 2/2] asciidoc-pve: ignore anchor names in curly braces
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Nov 14 11:07:53 CET 2022
Am 14/11/2022 um 09:26 schrieb Stefan Sterz:
>> IIUC this indirectly raised the minimum length of references to two characters,
>> not a deal breaker IMO as I don't really expect two characters to be used anytime
>> soon (maybe with unicode 🤔🧠💭 x)), but maybe hint it in the commit message.
>>
> yes that is correct. just to have made the suggestion: the "[^}]" could
> be dropped here. that should get us back down to one character, but will
> also filter the necessary keys. and anchors like "{key" are just as
> invalid as "{key}" in asciidoc.
>
or move it to a single one replacing the whole non-greedy part, something like
(untested): [^{}\[\]"']+
More information about the pve-devel
mailing list