Advice on how to write
took the root "aero", but
with the exception of "aerosol", "aerob"?
(aero) -- Finds the group of a character in a given order.
[^aerosol]|[^aerob] - Excludes words containing combinations of letters "aerosol", "aerob"?
Advice on how to write
took the root "aero", but
with the exception of "aerosol", "aerob"?
(aero) -- Finds the group of a character in a given order.
[^aerosol]|[^aerob] - Excludes words containing combinations of letters "aerosol", "aerob"?
I think you're looking for a negative lookahead, which is a way of making sure that certain characters aren't found after a match -- in your case, you want aero
but not aero-sol
or aero-b
(dash just used for affect). Here would be an example: