!cpp bang directs to 404 page

Description of the issue:

Using the !cpp bang using Brave Search should search cppreference.com, however it doesn’t work. Doing so directs you to a 404 page like so: https://en.cppreference.com/mwiki/index.php?search=span

Using the same search query in DuckDuckGo (!cpp span) works as expected and redirects to: https://duckduckgo.com/?q=std%3A%3Aspan+site%3Acppreference.com&ia=web

Brave Version (check About Brave):

1.86.146 Chromium: 144.0.7559.110 (Official Build) (64-bit)

Operating System:

NixOS

Hmmm it is strange that that’s happening. I notice that when I search directly on cppreference.com (using the search bar at the top), it also shows the results in DDG which may or may not be related. Will look into this.

I’ve found a nice workaround in the meantime. I honestly like it better than using cppreference.com directly because it doesn’t require using DuckDuckGo as a middleman and I prefer the formatting/design of DevDocs way more.

!dev std::span
!devdocs std::span

When using DevDocs.io for the first time, it can take a few seconds to load new pages– downloading the languages you’re interested in for “Offline” usage is the recommended solution: https://devdocs.io/offline

For anyone reading this who might be new to “bangs”, Brave provides a list of 12,000+ here: https://search.brave.com/bangs