4 ms·
That's a beginner mistake, it's really hard to make if you dealt even a bit with some regular expressions.
by comboy 2y ago
That's a beginner mistake, it's really hard to make if you dealt even a bit with some regular expressions.
- tracker1 2y agoProbably not even a regex, just a straight replace. Hopefully at the render layer and not the backend data. s/\btwitter\.com\b/x.com/ig
- remram 2y agoYou made the same mistake with the same amount of confidence. 1. your version replaces at-twitter.com with at-x.com 2. your version replaces twitter.com.au with x.com.au
- tracker1 2y agotwitter.com.au deserves what they get. LoL I probably would have pushed back against the replace in the first place.