44

When saving posts, the first sentence is removed if it matches a regular expression. See this answer. The purpose is to automatically remove salutations from posts.

The word “hay” is a very uncommon English salutation, but it is a quite important word in Spanish, meaning “There is”. It is also a common word in English. It is included in the above-mentioned regular expression.

Should it be removed from it, and therefore allow questions and answers to start with “hay”?

Advantages: you could start a question in the Spanish Stack Exchange with “Hay una palabra que...” (“There is a word that...”), or an answer with “Hay dos respuestas para tu pregunta” (“Your question has two answers”). You could start a question on Puzzles SE with the words “Hay weighs 8 pounds per cubic foot”. Etcetera. Basically, you can start a post with a valid sentence starting with “hay”, of which there are many in Spanish.

Disadvantages: Somebody could start a question with the very uncommon salutation “hay!” and that salutation will have to be deleted.

  • This feels like it may be useful on Spanish.SE, but nowhere else. If it is possible to do it for just that one site I'd be in favour, but I don't want to lose the auto deletion of it from all other sites. – Rory Alsop Dec 23 '17 at 17:57
  • 7
    First hair, and now hay? – Mark Dec 23 '17 at 19:50
  • 3
    On the other hand, who would start their question with hay? – Journeyman Geek Dec 25 '17 at 9:01
  • @JourneymanGeek I was wondering the same thing. Maybe some people might start with "Hey there!", but I have never seen "Hay" used. – hat Dec 25 '17 at 17:33
  • @Whosaysbigcatsdon'twearhats maybe it's because it's been removed by the filter? – John Dvorak Dec 27 '17 at 18:56
  • 1
    Hay bale is a block in Minecraft. – iBug Jan 3 '18 at 14:46
12

I think there's no need at all to remove "hay" from posts, as people use more "hey" than "hay", see this (22.7k vs. 300, emphasis on your very uncommon).

It's important to note that "hay" is a very common leading word in a sentence. This adds another supporting reason not to remove "hay". See the example above. Dear me, they stripped the whole sentence.

Translation provided:

There's something going wrong.

Hay algo que va mal.

You can try adding this back, above the line marker, and saving the edit:

Hay algo que va mal.

What would happen if someone is talking about Hay bale in Minecraft on Arqade?


Edit: It's fixed now. See Adam Lear ♦'s comment below⬇.

  • 3
    Yeah, I agree - starting with the next build, we won't treat "hay" as a salutation. – Adam Lear Jan 3 '18 at 19:25
  • @AdamLear could you check the list of greetings that are removed and have it updated? I assume you replaced h(e|a)y(?![a-z])| with hey(?![a-z])|. – fedorqui Jan 4 '18 at 8:18
  • 1
    @fedorqui Yep, that's right. – Adam Lear Jan 4 '18 at 15:53
  • 1
    @AdamLear I think there must be some missing \s+ in the regex that is indicated in the list of greetings. hello23\n matches it, but does not get removed. Also, following Let's make the automatic removal of salutations language specific! I see that there is probably a limit of 23 characters overall, since estimados tengo una duda does not get removed, while estimados tengo una dud does. – fedorqui Feb 9 '18 at 11:19

You must log in to answer this question.

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