开发者

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

开发者 https://www.devze.com 2023-03-05 23:33 出处:网络
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

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

精彩评论

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