Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(import\s)((androidx?|javax?|com\.google)\.)([a-zA-Z]).*
"
gm

Description

separates 3rd party imports from the official ones

Submitted by anonymous - 4 years ago