Can I use this library to find a pattern from tokens? For example, this library can accept inputs like these: target: john@example.com token1: john token2: doe and it returns me the pattern output: '{token1}@example.com'.