Problem when creating grep like command

I haven’t found a concise definition of what a context is, but I wrote an introduction to them in another comment a while ago:

1 Like