Attention is currently required from: fixeria, laforge, osmith.
1 comment:
File library/Misc_Helpers.ttcn:
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 change 36754. To unsubscribe, or for help writing mail filters, visit settings.