r/programminghorror • u/cat_sphere • Sep 03 '26
Shell s/li/option/g -i search.html
Who said you shouldn't edit HTML with regex?
(for any mods, my title is the code gone wrong)
254
Upvotes
r/programminghorror • u/cat_sphere • Sep 03 '26
Who said you shouldn't edit HTML with regex?
(for any mods, my title is the code gone wrong)
69
u/nipodemos Sep 03 '26
Sorry I didn't get it. I know regex but didn't understand what does it ha e to do with the image
54
u/4sent4 Sep 03 '26
Ah, a clbuttic mistake
9
u/Kadabrium Sep 03 '26
Coptic script
3
u/Antarlia Sep 03 '26
The Pony is coming
2
u/AlphaFatman Sep 03 '26
It took me a minute to get it but once I did I laughed
2
u/WilliamLeeFightingIB Sep 04 '26
I really thought Coptionical is a real word
1
u/MurkyWar2756 echo "Sub Mod" && :(){ :|:& };: Sep 03 '26
Context
1
u/_giga_sss_ Sep 05 '26
might be the only day I'm glad I learned regex
1
u/serg06 Sep 05 '26
That's not regex
0
u/hongooi Sep 04 '26
Could just be search-and-replace gone wrong, without any code involved
Dawizard