Pro tip: use regular expressions for searching

Maybe you are not all aware of the fact that you can use regular expressions for searching on collections. It’s an undocumented feature, and it seems to only operate on individual words, but it’s nevertheless a very useful thing to know.

I will not try to explain regular expressions here; you can google that. But here are a couple examples (don’t include the double quotes):

  • find all occurrences of ‘scomparso’ or ‘sparito’: “scomparso|sparito”
  • find all occurrences of words beginning with ‘scom’: “scom.*”
11 Likes

Thanks for alerting us to this, I love regex. This is very useful to know, even if it’s only applicable to individual words!

4 Likes

Grazie @morbrorper Molto utile!

2 Likes

This tip no longer works. As far as I know, you can now use * as a wildcard, but that is a lot less flexible

6 Likes

Thanks for the tip! Super helpful for languages that use inflection.

3 Likes