Solving this problem depends on what is allowed for usernames to contain. Can you register an account with asterisks in the name? If not, it should filter out the * when looking for a matching username.
Have to tested this with a user with a * at the end of the name that exists and the tagging doesn't work for them? Have to tested for other 'real' users with various symbols at the end of the name to see if they work or not?Well, parentheses can be used in usernames, and they work correctly with user tagging.
Have to tested this with a user with a * at the end of the name that exists and the tagging doesn't work for them? Have to tested for other 'real' users with various symbols at the end of the name to see if they work or not?
You can't really raise this as a bug when the only testing you appear to have done is on this forum with your username followed by symbol when these users don't exist, so naturally they wouldn't be tagged.
Looking at those examples:Here are some tests with symbols:
View attachment 70356 View attachment 70357 View attachment 70359
Also, what I'm saying is that (@Mike) should be no different than *@Mike*, but it is. Mike) could also be someone's username, for example.
Looking at those examples:
Image 1: This works as expected - the tag is surrounded by parentheses and so this is a valid situation
Image 2: Both examples are as expected - you'd never use a * immediately preceding an @ tag in the first, hence not tagging. In the second, the username contains * twice and it's being tagged as expected.
Image 3: The same as the first example in image 2
(@Mike) should behave differently to *@Mike* as it is perfectly acceptable to enclose names and other text in parentheses in various languages. Surrounding tags with * isn't something that is expected, just as I wouldn't expect 1@Mike1 or %@Mike% or enclosing a tag with any other letters, numbers or symbols to work.
It seems to me as though you are trying to find issues here which don't exist.
So, we've narrowed this down from "symbols" to just one case with square brackets.Well, maybe not with the asterisk, specifically, but if you look at my test thread, you'll see that brackets also don't work, and they work similar to parentheses.
http://www.oxforddictionaries.com/words/bracketsSquare brackets
Square brackets are mainly used to enclose words added by someone other than the original writer or speaker, typically in order to clarify the situation:
He [the police officer] can’t prove they did it.
http://en.wikipedia.org/wiki/Bracket#Square_brackets_.5B_.5DSquare brackets
Square brackets – also called crotchets or simply brackets (US) – are mainly used to insert explanatory material or to mark where a passage was omitted from an original material by someone other than the original author, or to mark modifications in quotations.
We use essential cookies to make this site work, and optional cookies to enhance your experience.