I agree with many comments, in particular those of Mark Rotteveel and tripleee.
No, there should not be a recourse through Stack Overflow, because the infringement occurred outside of Stack Overflow. There wouldn't have occured anything directly sanctionable on this exchange. You are the copyright holder and it's your responsibility to assert your copyright. Any moderator action like for example a temporary suspension of a user for issues outside of this platform would be a very slippery slope indeed.
However, if you want to do something about it personally, you can for example write to the publisher of that book and tell him that there has been used unauthorized material from you and that you are not agreeing to this. The answer will be telling. They might even be willing to financially compensate you in exchange for your approval.
At the very least they may add the required attribution (in later/electronic versions) and be more careful. If you are not satisfied, you could even try to contact the Electronic Frontier Foundation about this. They are known to have taken up pro bono cases in order to defend copyright of individuals against big corporations.
See also the "What actions can I take myself?" section of the community wiki answer of A site (or scraper) is copying content from Stack Exchange. What should I do?.