A redundantregular expression (regex) is defined here as a regex which has some amount of characters which can be removed while not affecting its functionality -- i.e. it matches the exact same set of strings. For example, code|codegolf is redundant since it can be reduced to code. You will be given a regular expression consisting only of lowercase letters and vertical bars (i.e. matching ^[a-z|]*$.) You should output a boolean (or equivalent) saying whether the regular expression is redundan...