Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

special chars are not accepted in tags

+3 votes
special chars are not accepted in tags, words like C++, .net, asp.net etc where as it accepts words like c#.

please look into this.
asked Apr 25, 2010 in Q2A Core by ProThoughts

1 Answer

+1 vote
 
Best answer
This is happening because most punctuation characters (except $ & - _ # % @) are treated as word breaks, so can't be included in tags. You can add other characters by removing them from the $matchstring variable in qa_string_to_words(...) in qa-util-string.php - this is actually a regular expression, so you need to remove the \ before any character you remove.
answered Apr 25, 2010 by gidgreen
For version 1.3, change the line in qa-util-string.php that starts with:

define('QA_PREG_INDEX_WORD_SEPARATOR', ...
It is working fine, thanks!