Just wondering what it is about my suggested edit caused it to be rejected?
Mainly for the future so I can learn how best to do edits.
Just wondering what it is about my suggested edit caused it to be rejected?
Mainly for the future so I can learn how best to do edits.
Qantas 94 Heavy choose to improve on your edit, and unchecked the 'this suggestion was helpful' checkbox when he submitted the new edit.
He used indentation instead of backticks to mark the expression, as that applies code highlighting too; so instead of:
`(^07[1,2,3,4,5,7,8,9][0-9]{7,8}$)`
he used:
(^07[1,2,3,4,5,7,8,9][0-9]{7,8}$)
You can see the exact edit he made in the revisions of the original post.
Personally, I might still have left the 'helpful' checkbox applied, but as you came here and asked about the rejection, I guess he achieved the goal of showing that there was a better option to formatting that line. :-)
inline was best. It would have been nice to get some recognition rather than disappearing into a blackhole and having my edit comment hijacked.
I'm the one that rejected your edit. Admittedly I'm quite a strict reviewer and this one was close to being helpful for my own standards.
As Martijn Pieters mentioned, if the code is not within a sentence, code blocks should be used.
Compare:
dynamic model = GetExpandoObject(); //model type of ExpandoObject
with
dynamic model = GetExpandoObject(); //model type of ExpandoObject
Without taking that into account, you only really added inline code spans to the # characters, which by itself would be considered "too minor".
Now I come to think of it, there isn't that much that could have been obviously improved on in this particular post -- I'd probably give you the benefit of the doubt for edits like these in the future, but note that if there's still other things that's glaringly obvious, I might still reject your edit.
In any case, thanks for asking about it on Meta -- I certainly didn't mean to be obnoxiously picky.