I want to match strings using QRegularExpression, but it seems that the RegExp doesn't like the pattern I'm using.

I have a pattern like "foo \S is a \S", which should match both "foo blah is a bar" and "foo blah is a very big boat" .... but doesn't seem to like either. I tried a simple "the \S" against "the quick fox", that's good... but "the \S fox" doesn't match "the quick fox". Is this an impossible pattern to use?

Thanks,
Vycke