This is true, but I want to add that FODMAPs are not inherently bad for you (unless you have something like IBS), on the contrary!
Fermentable carbohydrates are prebiotics and feed your gut flora, which produces short-chain fatty acids that are healthy for you.
But yes, you also get gas from FODMAPs. And no, I am not advocating for processed foods - just wanted to comment on the FODMAP aspect.