I have this wonder in my logs:
FROM='Mr. Void <[email protected]>'|||ENV_FROM='<mrvo[email protected]>'
And this is my parser:
grep -oP "(?<=FROM=\').*?(?=\')"
It does work by bringing me both FROM and ENV_FROM. This is bad. I want EXACT match. Is it possible with lookbehind and lookahead?