Regular Expressions 101

Community Patterns

0

GQL Parser

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

index_re

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

lineup.re

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

US zip code

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

Log error code

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

3 voyels word

Python
no description available
Submitted by anonymous - 3 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