Attention is currently required from: fixeria, pespin.
osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43651?usp=email )
Change subject: smf: Initial HTTP2/SBI support ......................................................................
Patch Set 2:
(1 comment)
File library/HTTP2_Functions.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43651/comment/2c653fc5_040c8... : PS2, Line 51: //var charstring regexpString := "([A-Za-z][A-Za-z0-9-]*):\s*(.+?)\s*";
@osmith@sysmocom.de @axilirator@gmail. […]
Hm, I've played around with this for half an hour or so and I think regex in titan is just a bit broken... your regex should match "Content-Type", "a". If you remove the ? (lazy -> match as few characters as possible) then it should work as intended ("Content-Type", "application/octetstream"). This is the result I get when running the regex in python and e.g. https://regexr.com/. With titan the strings are indeed just empty.
So I recommend keeping the string split code without regex that you already have and reporting this upstream.