Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+5 votes
861 views
in Q2A Core by
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.

1 Answer

+2 votes
by
 
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.
by
Thanks Gideon! I will fix this in my version of q2a.
by
how to fix this problem in Q2A 1.3?
by
For version 1.3, change the line in qa-util-string.php that starts with:

define('QA_PREG_INDEX_WORD_SEPARATOR', ...
by
It is working fine, thanks!
by
Can you please share what to do in 1.5.4 ? What file to edit ? Can you please add an example ?

Thanks.
...