Regular Expressions 101

Community Patterns

0

Cusip

Python
no description available
Submitted by anonymous - 4 years ago
0

Sedol

Python
no description available
Submitted by anonymous - 4 years ago
0

Isin

Python
no description available
Submitted by anonymous - 4 years ago
0

mayfield 2

Python
no description available
Submitted by anonymous - 4 years ago
0

mayfield 12

Python
no description available
Submitted by anonymous - 4 years ago
0

60fps fixtures

Python
no description available
Submitted by anonymous - 4 years ago
0

60fps m3u8

Python
no description available
Submitted by anonymous - 4 years ago

find pattern in filename product name, version, build and extension

1

Regular Expression
Python

r"
(?P<product_name>^.*)[-]((?P<ver>\*|\d+(\.\d+){0,2}(\.\*)?))[-](?P<build>.\d*)[.](?P<ext>bin|rpm)$
"
gm

Description

Loading markdown...
Submitted by rsim - 2 years ago