Cathas9lives You could. But, I don't know if I want to make this change. Some people may not want this. Some may prefer that it searches all variations of the word.
But, you could make it so that it searches "#hashtag" with the “#” included. That will only return the posts with that exact hashtag. It is fairly easy to modify this.
Within this extension’s folder, open extend.php. Find this line:
entries[i].innerHTML = entries[i].innerHTML.replace(/((?!([\S])).|^)#(\S+)\b/g,DOMPurify.sanitize(' <a href="'+siteURL+'?q=$3" class="hashTag"
Where the href is, add a “#” in front of $3. In other words, it should go from ?q=$3
to ?q=#$3
.
This comes with a BBcode too. If you use that you will need to look down a little further in extend.php and make this same change for the BBcode.