fnmatch - single pattern to allow only text which have dots and digits
In GitHub I want to protect branches which have digits and dots. But if a branch has any letters, than it should not be protected
need fnmatch
pattern so text with digits separated with dots will be matched
matched examples:
11.22
20.2
1.2.2.3.4
not matched examples:
abc_2.2
2.2_sss
1.9_AAA-1233
Comments
Post a Comment