Regular Expressions 101

Community Library

Community Library Entry

0

Regular ExpressionOpen Workspace

`
^\s*([[:alnum:]_.+-]+)\.([[:alnum:]_+-]+)\s+([[:alnum:]._+~-]+)\.([[:alpha:]]+[[:digit:]]+)
`
gm

Description
Created·2023-06-26 18:42
Type·Match
Flavor·Golang

Every valid line will be of the form: <package_name>.<architecture> <version>.<dist> <repo_id>.

NOTE: the distribution tag is expected to start with at least one letter and be followed by at least one digit.

Submitted by Anonymous
Open Workspace