channel_path_match = re.match(expr, channel_url) code example
Example: re python3
import re
>>> m = re.search('(?<=abc)def', 'abcdef')
>>> m.group(0)
'def'
import re
>>> m = re.search('(?<=abc)def', 'abcdef')
>>> m.group(0)
'def'