Possible Duplicate:
What happened to my @ salutation?

Out of curiosity, what kind of pattern is being used here. It worked beautifully when I made a comment like:

@poster - blah blah and it became blah blah

  • @Rick - I am asking the specifics of how it works. What situations have been considered etc. – manojlds Sep 16 '11 at 21:10
  • 3
    @Rick Not a duplicate. This isn't asking WHY it's happening, it's asking HOW it happens. – squillman Sep 16 '11 at 21:13
  • 1
    I think it's clear -- if the person would be automatically notified, it's removed. – agf Sep 16 '11 at 21:19
  • 1
    @agf - come on, I mentioned that even in the question. I realize the why, I just wanted to know what patterns are being considered. Like how the - is removed, is something like : considered and so on. This more from the code point of view how this is implemented. Just out of curiosity. – manojlds Sep 16 '11 at 21:22
  • @manojlds: Sorry, now I understand. The rules are shockingly complex as documented here: How do comment @replies work?. Removal is even more complicated due to user names with spaces in them. I cannot find documentation that whitespace between the username and the single character of punctuation is also taken into account. – Rick Sladkey Sep 16 '11 at 23:38
  • This is not a duplicate. Trying to reopen it – genesis Sep 17 '11 at 8:37

Browse other questions tagged .