void-packages/srcpkgs/mawk/update
2019-11-05 22:23:09 +01:00

1 line
153 B
Text

pattern='(?<!-)\b\Q'"$pkgname"'\E[-_]?((src|source)[-_])?\K([^/_\s]*?\d[^/_\s]*?)(?=(?:[-_.](?:src|source|orig))?\.(?:[jt]ar|shar|t[bglx]z|tbz2|zip))\b'