yes its matching either string or comment. I will modify this to be more clear by removing the regex altogether. 

You're right it shouldn't be returning, it should be calling the callback with no autocompletions in it and then returning. Good catch. The intent of the returning is that there are no autocompletion results to present if we are in a comment or string