By default, it matches only sequences of "keyword" characters (alphanumerics and underscore), and it has no deep sense of context beyond matching what's immediately to the left of the cursor.
For example, the shoe bucket has the ability to classify all of the shoes by color and size as well as matching all of the left shoes with their corresponding right shoes.