Regular Expressions 101

Library entries

Bazel workspace parser

Vote

0

Regular Expression
python

"
(?P<workspace>(@[\w-]*)?)//(?P<package>[\w\-/]*)(?P<target>:(?P<target_all>all)|:(?P<target_named>[\w\-\./]+)|(?P<target_recursive>\.\.\.)|(?P<empty_target>(?<!/)))$
"
gm

Description

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