namespace lyx {
+class LyXErr;
+
+LyXErr & operator<<(LyXErr &, QString const &);
+
/**
* toqstr - convert a UTF8 encoded char * into a QString
*
*/
std::string fromqstr(QString const & str);
+/**
+ * constructs a regex to filter on consecutive characters
+ * matches lower- and uppercase on lowercase characters,
+ * and just uppercase for uppercase
+ */
+QString charFilterRegExp(QString const & filter);
+
+/**
+ * as above, but constructs a capturing regex for a sequence of characters
+ */
+QString charFilterRegExpC(QString const & filter);
+
} // namespace lyx
#endif // QSTRING_HELPERS_H