It does seem to me that an omniscient God would see all these attempts to outwit him via looking at the small print, but then it's not me that would end up in hell or purgatory or whatever the Jewish equivalent is.
The whole idea of "the spirit vs the letter of the law" is a secular one that came up as a result of imperfect human lawmakers. But when dealing with holy texts, that is obviously not required because axiomatically God doesn't make mistakes.
I mean, even apart from the fact god doesn't exist.
[1] https://en.wikipedia.org/wiki/Milk_and_meat_in_Jewish_law#Ra...
I’m not Jewish and this just my paraphrasing of an explanation I’ve heard a couple of times. The idea of God giving us a hacker nature and delighting in it makes me happy.