Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
/dev/(?P<root_permission>\S{4}) on / type ext4 \((?P<permissions>\S{2}),
"
gm

Description

Find two matching groups

Submitted by anonymous - 3 years ago