void-packages/srcpkgs/CUnit/update

2 lines
156 B
Text
Raw Normal View History

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