Attention is currently required from: fixeria, laforge, osmith.

pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36754?usp=email )

Change subject: Misc_Helpers.ttcn: Add some more string handling API helpers
......................................................................


Patch Set 1:

(1 comment)

File library/Misc_Helpers.ttcn:

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36754/comment/451a70f7_ca48ebb6
PS1, Line 83: function f_str_endswith(charstring str, charstring token) return 
boolean
            : {
> you are aware that TTCN-3 supports [some] regular expression? I'd expect 
> matching a string start or  […]
Well for instance python also supports regular expressions 
(https://docs.python.org/3/howto/regex.html) and it still has too an endswith() 
method (https://www.w3schools.com/python/ref_string_endswith.asp).

So I think the fact that tons of stuff can be done with regular expressions 
doesn't mean that it's not handy having some common funcionalitites available 
with specific APIs. Makes it quicker to develop and understand code rather than 
having to look at regexp (I may confess I'm not an expert by any means 
regarding regexp).



--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36754?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I3d6da125a10807b7a2f3ecad8145a046a322c7d6
Gerrit-Change-Number: 36754
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-CC: laforge <[email protected]>
Gerrit-Attention: osmith <[email protected]>
Gerrit-Attention: laforge <[email protected]>
Gerrit-Attention: fixeria <[email protected]>
Gerrit-Comment-Date: Thu, 09 May 2024 12:33:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <[email protected]>
Gerrit-MessageType: comment

Reply via email to