Guys,
could you please advice how to verify in python if provided string correspond to provided pattern and return result.
For example the provided pattern is following:
< [prefix]-[id]> separated by ','>|< log >"
where prefix is any number of alphabetic characters, id is only numbers but not exceeding 5 digits, log is any number of any characters
examples:
proj-123|log message
proj-234, proj-345|log message
I suppose the easiest way is to apply regexp which I didn't use on python.
Thanks.