In some regex flavors, [negative] zero-width assertions (look-ahead/look-behind) are not supported.
This makes it extremely difficult (impossible?) to state an exclusion. For example "every line that does not have "foo" on it", like this:
^((?!foo).)*$
Can the same thing be achieved without using look-around at all (complexity and performance concerns set aside for the moment)?