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. -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43651?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I377b748d8da6e9e53a96a85f1c730505793ecea8 Gerrit-Change-Number: 43651 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: fixeria <axilirator@gmail.com> Gerrit-CC: osmith <osmith@sysmocom.de> Gerrit-Attention: pespin <pespin@sysmocom.de> Gerrit-Attention: fixeria <axilirator@gmail.com> Gerrit-Comment-Date: Thu, 17 Sep 2026 08:22:54 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: pespin <pespin@sysmocom.de>