The link you provided does not say a word about the problem.
In JavaScript the only way I'm aware of is using the ? modifier.
There is no global modifier for the entire regexp, like "i" for case insensitiveness.
And there seems to be no RegExp object's method which allows this.
So since Qt does not support the ? modifier, it should enable other way of making the QtScript's RegExp non-greedy.
Bookmarks