Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
jest.mock\(\s*\"(?:\.\./){4}src/components/(?P<name>\S+)\",\s*\(\) => \"(?P=name)\"\s*\);
"
g

Description

no description available

Submitted by anonymous - 7 years ago