I colored text "gray" in a test post, editing the BBcode by hand. I then searched for that color and the post showed in the search results.
I believe that the search shouldn't match the color that is inside a BBcode .
I use ElasticSearch on my board. Stripping tags is something that ElasticSearch can easily do.
So, is it a bug?
Here is my search.