Fix ignored result of String.replaceAll()