friend bool operator == (const String &s, const regex &r);
friend bool operator == (const regex &r, const String &s);
- // TODO: The != operator
+ friend bool operator != (const String &s, const regex &r);
+ friend bool operator != (const regex &r, const String &s);
SuperString split(const String &separator);
friend bool operator == (const String &s, const regex &r);
friend bool operator == (const regex &r, const String &s);
+ friend bool operator != (const String &s, const regex &r);
+ friend bool operator != (const regex &r, const String &s);
};
class SuperString