The filter - select - act paradigm/pattern is powerful abstraction used in Emacs and many of its packages like AVY.

It is a philosophy that not only makes string manipulation efficient but allows one to really utilize emacs the way it is ment to be used, like a single mutable state, not just some willy nilly text editor.

References