Fix the one-line regexp for redundant symbol ghc warning.