The dot(.
) in username within first 3 character preventing from comment replies?
Because I never got replies from anyone else using that feature.
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.
Sign up to join this communityThe dot(.
) in username within first 3 character preventing from comment replies?
Because I never got replies from anyone else using that feature.
Ooops, I misspoke in this answer. Apologies.
This was a long-standing bug of too-strict matching on @foo
-- it now uses the proper valid username character set to match, [\w'\.\-]
.
Will be fixed in next deploy, within a few hours.
_
is missing in your character set although it's valid in user names and appears to work just fine in comment notifications. I'm not sure, however, if I should add _
or \_
to your list.
– Hendrik Vogt
Sep 2 '11 at 12:50
\w
includes underscore. See regular-expressions.info/reference.html
– Jeff Atwood
Sep 2 '11 at 13:00
man grep
on my linux console, where I didn't find that.
– Hendrik Vogt
Sep 2 '11 at 13:03
I had forgotten about that, but yes, apparently either the FAQ or the implementation need updating.
Note that trailing dots (though valid in a user name) are removed before matching.
Hence Thanks, @name. matches both Name.
with the dot, and Name
without the dot. But: @R. is too short to notify R. Smith
.
@R.
does very well match R. Smith
(we obviously don't remove the trailing period if that would leave just one letter; that wouldn't make any sense). My point in that comment was just that it may not be the best idea to always strive for the shortest possible combination of letters to reply to someone.
– balpha
Jan 28 '11 at 6:35