Yeah it's very capable to follow patterns.
Here are some more fun examples that I posted on my Twitter: https://twitter.com/blixt/status/1285274259170955265
The fact that it can take vague English and turn it into fully functional code or shell commands is quite amazing. It's not just that it finds the correct result from its training data, it can also tweak parts of the output to correctly match your free text query.