^start of line
debthe literal text deb (case sensitive) deb-srcthe literal text deb-src (case sensitive) \s+a Unicode whitespace character, repeated at least once
Group 2(http:\/\/[^\s]*debian[^\s]*) http:the literal text http: (case sensitive) \/the literal / (4710 / 578 / 2F16)
\/the literal / (4710 / 578 / 2F16)
Negated Character Class[^\s]* *matches any number of characters outside the set below:
\sa Unicode whitespace character
debianthe literal text debian (case sensitive) Negated Character Class[^\s]* *matches any number of characters outside the set below:
\sa Unicode whitespace character
\s+a Unicode whitespace character, repeated at least once
.+?any Unicode character (except for line terminators), repeated at least once
\s+a Unicode whitespace character, repeated at least once
mainthe literal text main (case sensitive) \s+a Unicode whitespace character, repeated at least once
contribthe literal text contrib (case sensitive) .*any Unicode character (except for line terminators), repeated any number of times
$end of line
the literal ↵ (1010 / 128 / A16)
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string