The question in particular is extremely localized and has no value to anyone else as a whole.
Match first occurrence of semicolon in string, only if not preceded by '--'
This just makes SO look like the internet's dumping ground of I don't want to read the docs to figure something out and want someone to do my work for me.
We need a Go use RegEx101.com and get this to work or something like that.
This is just a straw man, there are many other questions that exhibit a complete lack of attempt at comprehension. Well written doesn't equal well researched! The java
tag is rife with these questions where a simple read the javadoc for comprehension will answer the question, but they want a dissertation on a particular method or class instead of reading themselves.
Regex questions tend to be too localized because they are usually about very specific criteria, if they are about more generally applicable concepts it would not be a problem.
How many people are going to come along and need to not match --;
in the future?