mozilla/pontoon

Pontoon search fails for search terms with $

flodolo opened this issue · 2 comments

Example: searching for moco_link finds one result, while searching for $moco_link finds none.

@harmitgoswami Note that the string with $moco_link has since been rejected (and toggling Search in rejected translations also doesn't help).

Relatedly, searching for %(moco_link) also doesn't return any results and (moco_link results in a server error.

This is probably due to the switch to regex for search, so you'd need to use something like re.escape().