开发者

Perl-like regular expression in Qt. Using /gs in Qt

I have some regexp with /gs Those regexp work on RegExr

Why can i use /gs in Qt 开发者_Go百科with QRegExp?


For perl-like /g, you need a loop

By default, QRegExp pattern . matches any character so it works the same as /s.

Further reading: http://doc.trolltech.com/latest/qregexp.html#notes-for-perl-users

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜