Function r = htab_style_string2struct(s,esctags)
converts the styles in string s into a struct.
The pattern in string s is like this:
" <a> <b> ;<c> <d> <e> <f> ;"
where "<a>", "<c>" and "<f>" are returned
as keys (aka style names) in r:
r.("<a>") = {"<b>"};
r.("<c>") = {"<d>","<e>"};
r.("<f>") = {};
So, styles are separated by ";", and
arguments after a style name are separated
by one or more spaces. Spurious semicolons
and spaces are ignored.
To encode a semicolon, write "<semicolon>".
To encode a space, write "<space>".
To encode an empty string, write "<empty>".
These three escaping tags are defined in the
struct given in the second input argument:
esctags.semicolon = "<semicolon>";
esctags.space = "<space>";
esctags.empty = "<empty>";
The style names and the arguments are not
checked; this is done by htab_style_allocate() !
(c) 2026 fabien van mook
2026.08.20 release of this file within package "fvm-htab" under GNU GPLv3+