I need to match all of these opening tags:
<p>
<a href="foo">
But not self-closing tags:
<br />
<hr class="foo" />
I came up with this and wanted to make
This is StackOverflow after all. Your question is wrong. Your problem is wrong. You are wrong. I am right. Thread locked. Go read this other post that is totally unrelated to your problem I’ve decided isn’t the problem you’re facing because. I. Am. Right.
The thing with Windows is that the three magical commands (sfc, that DISM tool, fixboot) will usually fix most weird OS problems. To the point where any Windows troubleshooting session should include either the results of the first two, or instructions to use them.
Once SFC and DISM can’t fix your install, you reinstall Windows. There are alternatives, but if you’d know them you wouldn’t be asking random Windows users on a forum. You can figure out a lot by enabling various tracing and logging features, listing open file handles and tracking file system calls, but the moment you need to take out sysmon you’re either in for a weekend of troubleshooting or wasting your time.
Similarly, there are oneliners for Linux that’ll reinstall every package installed on the system and that has helped me recover my broken systems several times.
Magic may be an overstatement. I would be shocked if any of them fixed even 0.1% of the problems posted to Microsoft’s joke of a support forum where they were presented as solutions.
This is StackOverflow after all. Your question is wrong. Your problem is wrong. You are wrong. I am right. Thread locked. Go read this other post that is totally unrelated to your problem I’ve decided isn’t the problem you’re facing because. I. Am. Right.
That’s why LLMs are so infuriatingly stubborn, they’re trained on these keyboard warriors
Could be worse. At least it’s not Microsoft’s support forums:
(Reply marked as solution, thread closed.)
answers.mirosoft.com is the worst. learn.microsoft.com can be decent at times though
The thing with Windows is that the three magical commands (sfc, that DISM tool, fixboot) will usually fix most weird OS problems. To the point where any Windows troubleshooting session should include either the results of the first two, or instructions to use them.
Once SFC and DISM can’t fix your install, you reinstall Windows. There are alternatives, but if you’d know them you wouldn’t be asking random Windows users on a forum. You can figure out a lot by enabling various tracing and logging features, listing open file handles and tracking file system calls, but the moment you need to take out sysmon you’re either in for a weekend of troubleshooting or wasting your time.
Similarly, there are oneliners for Linux that’ll reinstall every package installed on the system and that has helped me recover my broken systems several times.
Magic may be an overstatement. I would be shocked if any of them fixed even 0.1% of the problems posted to Microsoft’s joke of a support forum where they were presented as solutions.
I had a decade old question marked as a duplicate and downvoted three times after years no no activity. SE is such a joke nowadays.