void-packages/srcpkgs/xrootconsole/update

2 lines
162 B
Plaintext
Raw Normal View History

2018-12-19 11:13:29 +01:00
pattern='(?<!-)\b\Q'"$pkgname"'\E[-_]?((src|source)[-_])?\K([^-/_\s]*?\d[^/_\s]*?)(?=(?:[-_.](?:|debian|src|source|orig))?\.(?:[jt]ar|shar|t[bglx]z|tbz2|zip))\b'