Add some implementation details, and tweak phrasing in examples section to be more explicit about how script expressions are used for matching.