How to use a
posix BRE or a
posix ERE regex to match a line that doesn't contain
834 at any place in string?
I want to find
grep '!<pattern>' file which will be equal to
grep -v '<pattern>' file.
It is theoretical question on regex, that's why I don't want to use
I figured out how to list lines, that doesn't contain one character:
^[^8]*$, for my case I also tried
^$|^.$|^..$|^([^8]..|.[^3].|..[^4])*$, but that's not working as expected.