lobsters/lobsters

impossible to search for c++

Open

#1,268 opened on Apr 4, 2024

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Ruby (961 forks)user submission
buggood first issue

Repository metrics

Stars
 (4,680 stars)
PR merge metrics
 (Avg merge 7d 4h) (20 merged PRs in 30d)

Description

I wanted to find my past comments that mentioned C++, but it seemed that the ++ was ignored. I tried quoting with " and escaping with \ neither of which worked.

I looked at the source code and it seems strip_operators in lobsters/app/models/search.rb removes almost all punctuation.

Could it please be relaxed to retain + (for C++) and # (for C# and F#)?

Contributor guide