Or looked it up once and probably now forgotten it.
Also regex expressions are not vi expresions and have wider applications so author might use them regularly.
So nothing here suggest that the author can remember vi.