First of all: thanks for bringing this up and for trying to improve the quality of post on Stack Overflow.
One reviewer gave this reason:
This edit deviates from the original intent of the post. Even edits that must make drastic changes should strive to preserve the goals of the post's owner.
which basically covers why your edit was not correct.
It might be perfectly true that you'll need or they meant glob there and not regex. Without confirmation of the OP you're guessing. And also future visitors facing the same issue as the OP did will probably also falsely assume it is called regex. If you take out that wording that question (and the answer you gave) will be harder to find. Add the tag once you got confirmation on either a comment or because of becoming the accepted answer. I personally wouldn't remove the original tag.
So in the context of the OP your edit might be correct, for the goal of Stack Overflow your edit makes the question harder to find for visitors. If that is a common misconception that glob is not regex and regex is not glob, explain that in your answer.
On the editing itself: I would have only corrected the typos, removed the unneeded use of Bold and added some paragraph breaks to make the question less of a wall of text.
I might have left a comment like isn't that glob what you're after, instead of regex?. In the worst case you'll get a reply My boss told me to use regex, as glob is banned from our project.
Keep it up!