Mugging is “almost a victimless crime” by that standard.
And this was significantly more victim-ful than that.
Regardless, it should be pretty obvious that if an attacker gains RCE, they can do a lot.
I was referring to translations, which while being silly seem not that much of an issue. After all he provided the content in multiple languages (I know, I know)
The opposite behaviour (we have a constant regular expression, we re-use it often but the tooling doesn't realise and so it's created each time we mention it) is not a footgun, it results in poor performance, and so you might want (especially in some managed languages) to just magically optimise this case, but if not you won't cause mysterious bugs. An expert, asked "Why is this slow?" can just fix it - you have to supply basic tools for that, but this flag is not a sensible tool.
> With nothing else to investigate, I finally looked up the docs for what the /o regex modifier does.
I'll probably never understand this mode of thinkning. But then again, Ruby programmers are, after all, people who chose to write Ruby.
> /o is referred to as “Interpolation mode”, which sounded pretty harmless.
Really? Those words sound quite alarming to me, due to personal reminiscences of eval.
Also, this whole "/o" feaure seems insane. If I have an interpolation in my regex, obviously I have to re-interpolate it every time a new value is submitted, or I'd hit this very bug. And if the value is expected to the same every time, then I can just compile it once and save the result myself, right? In which case, I probably could even do without interpolation in the first place.
Open mode is a kind of single-line visual mode. I actually used it quite a bit over a 1200-baud modem line.
Although we all be happy to se more competition, using an ad blocker on Google sites (and G-add financed-sites) have no positive effect for the competitors.
Don’t take me wrong, I hate Ads and Google methods but we can’t all rob the same store and hope there will be infinite food on the shelves and that the next store will benefit from that.