Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I propose adding a feature to always replace "seperate" with "separate" in all question titles, questions, answers, edit summaries, and comments.

I'm asking just because I see it all over the place and, well, yes, it drives me a little nutty.

Perhaps /\bsep(e)rat(ion|e|ly|ed)\b/ig.replace('$1', 'a') or something close would do. I forget if javascript uses $ for regex replacements.



Okay, I wasn't really serious. But it was fun to try. :)

share|improve this question
Don't forget about all the other problems with the post as invariably there are. – random Jul 14 '11 at 17:50
@random Of course, but at least I'll be less tempted to edit unless I really have a material contribution. – ErikE Jul 14 '11 at 17:50
I know this things are annoying, but keep in mind that not everyone is english native speaker; and, besides, if you start with "seperate", then you need to add other words. You might then end up with a full-blown spelling-checker, because just changing the word that gets more on your nerves won't be changing the root problem. – Damien Pirsy Jul 14 '11 at 18:00
Donut no weather or not too +1 or -1. Their are sum good opportunities to expound this. – user7116 Jul 14 '11 at 18:01
This is a slippery slope. I can probably think of a hundred other things that could also be automatically fixed. – Robert Harvey Jul 14 '11 at 18:17
I agree with @RobertHarvey. This could turn into a looooong list. It's probably not worth it. Not to mention misspellings that might actually be correct. (HTTP_REFERER anyone?) That said, the first word on my list for this would be "definately". – Al E. Jul 14 '11 at 18:34
@Al: I was using satire to explain my downvote. – user7116 Jul 14 '11 at 18:47
@sixlettervariables: I'm not quite sure what it is you're satirizing, but okay. I'll retract my comment. – Al E. Jul 14 '11 at 18:52
@Al: grammar and spelling insert Godwin's law reference here. – user7116 Jul 14 '11 at 18:54
maybe a really smart replacement algorithm for when 'then' should be 'than' – IAbstract Jul 14 '11 at 21:07
I don't think auto-spell checking algorithms are the way to go. Most are able to decipher the original intent -- and if not, problems tend to be fixed quite quickly -- even, in sentences like: "Me kno spel two gud. Kno wright well I ether." – M. Tibbits Jul 14 '11 at 21:15
This would be a good opportunity for someone to earn a quick +1000 points suggesting edits to fix the spelling and grammar in all those posts. – sarnold Jul 14 '11 at 23:31
@sarnold Isn't that only available to users under 1000 rep? I have almost 5000... – ErikE Jul 15 '11 at 0:27

I have just run

$(".post-text p").each(function () {
    var wrong = $(this).text();
    var corrected = wrong.replace(/\b(sep)(?:e)(rat(?:ion|e|ly|ed))\b/ig, "$1a$2");

on this page, and now your suggestion doesn't make sense anymore:

I propose adding a feature to always replace "separate" with "separate" in all question titles, questions, answers, edit summaries, and comments.

I hope my point is clear :)

share|improve this answer
I think you probably mean /\b(sep)(?:e)(rat(?:ion|e|ely|ed))\b/ig ... otherwise your regex will not change "seperately" to "separately". – Robusto Jul 14 '11 at 21:34
So you're saying that someone, somewhere, in a secret project in the darkness of night miles from any living thing, while plotting to overthrow the world, could, imaginably, through an incredible series of extremely unlikely events, intentionally spell it "seperately." I see. Well, other than a meta discussion which references the word, I still think all invocations of the word could stand being adjusted. Since discussions about words would not be appropriate on SO. – ErikE Jul 15 '11 at 1:41

Yep, I find myself doing this edit all the time. A little automatic help would make sense, maybe don't apply it if it's in quotes.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .