in reply to I refuse to explain this

An explanation, sort of, is at Re: knapsack problem solved by regex.