Linear pattern matching algorithms | Synapse