orclev@lemmyrs.orgtoWorld News@beehaw.org•[LIVE THREAD] Donald Trump's arraignment in Miami; his supporters expected to protest outside of courthouseEnglish
1·
1 year agoIf the law was changed in such a way that it only ever applied to a specific person sure, but changing laws after someone does something is kind of the way things work. Somebody does a thing, everyone goes “I can’t believe they did that, there should be a law against it” and then a law gets passed or amended. Is that law targeting that specific person at that point? Kind of, in that the actions of that person prompted the change, but it would have been the same if a different person had done the same thing.
Before there was python, before there was node, there was perl. It’s old, it’s crufty, it’s a product of a bygone age, but even today if you want to do something with regular expressions and ingesting text it’s still one of the easiest options. Of course it’s highly debatable if you should ever use regex to ingest text.