Only in the last couple of years. Before that they rose well above inflation. That's just the regulated fares, operators can do what they like with the unregulated ones. That's why some Anytime Returns don't cost much less than the equivalent 7DS.
Only in the last year (BaldRick is quite right of course for this year) We've endured above inflation rises for decades. We have an overpriced system in comparison to peer group countries
it’s interesting that there is a perception that fare rises have risen above (or well above) inflation for decades. This is not actually the case. The ORR, in one of their more helpful moments, publish data on this each year. The most recent document is here:
there’s an interesting graph which shows that since privatisation in ‘96, regulated fares have risen in line with or below RPI for 16 years, and above RPI (and only 1% above) for 11 years. If my maths is right, that means that with the recent very substantial shortfall of fare rises vs RPI, and that BR had years of well above RPI fare rises in the decade up to privatisation*, in real terms rail fares are now the cheapest they have been for around 30 years.
two relevant graphs below, one from the latest release, and one from 2020 that has a direct comparison to RPI.
* info from Chris Green’s book on Network South East, which I can’t find right now! IIRC, fares increased by 37% in real terms from 1984-1994.