Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-06-13 23:36
Flavor·Python

r"
^(?: (?P<entity>[^:]+) (?::(?P<mode>[^:]+))? (?P<paths> (:(?P<path>[^:]+))+ )? ) $
"
gmx
Open regex in editor

Description

split a URN with one or more parts separated by colon

Submitted by anonymous