Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I exclude all *pre*, *beta*, and *686* packages safely?

EXCLUDE Packages safely
0
Posted

How can I exclude all *pre*, *beta*, and *686* packages safely?

0

An exclude regex like .*pre.* , .*beta.*, or .*686.* may net you the results of excluding all packages with those characters in the name or version. But they may also catch packages that have those characters normally occurring in the package name. This regex seems to work much better: [0-9\_\.\-]{1}pre[0-9\-\.\-]{1} for beta packages: [0-9\_\.\-]{1}beta[0-9\-\.\-]{1} or for i686 packages (or for i585 or i486): [0-9\_\.\-]+i686 Anything matching these regex will be added to the exclude list for the transaction.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123