Well, many food crops are fertilized in manure, and we rinse and eat them. I’d say the wood sorrel would be fine to wash and eat (especially cooked). You aren’t likely to get E. coli from it…any more than you would from walking on it with your filthy street shoes.
Actually, that I would be more worried about.
The last house I lived in before this had a nice-sized yard that had overgrown with weeds. Instead of getting weed killer, I got a book and found out which were edible. We had a lot of lambsquarter done up like collard greens, sorrel soup, purslane salad, etc. in the summer. It was awesome, frankly. My husband would come home and ask if we could have “yard salad” for dinner again! That was all very good fiber, too, I might add…