I have a QRegExp that looks like this:
QRegExp rxpercent
("percent done: [0,9]{1,3}.[0,9]");
QRegExp rxpercent("percent done: [0,9]{1,3}.[0,9]");
To copy to clipboard, switch view to plain text mode
the problem is that the number of whitespace between percent done: and [0,9]{1,3}.[0,9] varies depending on th number of digit. Is there a regexp to catch something like:
QRegExp rxpercent
("percent done:<unknown occurence of whitespace>[0,9]{1,3}.[0,9]");
QRegExp rxpercent("percent done:<unknown occurence of whitespace>[0,9]{1,3}.[0,9]");
To copy to clipboard, switch view to plain text mode
thanx in advance
Pat
Bookmarks