Re: [Interest] QRegExp exclamation marks

2013-05-27 Thread Sensei
On 5/27/13 7:25 PM, Thiago Macieira wrote: > On segunda-feira, 27 de maio de 2013 16.48.13, Sensei wrote: >> QRegExp r("\\b(PROGRAM WARNING|!\\s)"); >> >> >> it matches just the second line, not the "! " patterns. > > \b is "word boundary". You need to have a \w (word) on one side and \W (non- > wo

Re: [Interest] QRegExp exclamation marks

2013-05-27 Thread Sensei
On 5/27/13 6:17 PM, Bo Thorsen wrote: > When I do regular expressions for complete lines, I use something like this: > > QRegExp r("^(PROGRAM WARNING|!\\s+)(.*)$"); > > r.cap(1) should be the first part, which you don't need. r.cap(2) should > be the text you are interested in. Thanks, that did t

Re: [Interest] QRegExp exclamation marks

2013-05-27 Thread Thiago Macieira
On segunda-feira, 27 de maio de 2013 16.48.13, Sensei wrote: > QRegExp r("\\b(PROGRAM WARNING|!\\s)"); > > > it matches just the second line, not the "! " patterns. \b is "word boundary". You need to have a \w (word) on one side and \W (non- word) on the other. Both the beginning of a line and t

Re: [Interest] Reconfigure project : run cmake

2013-05-27 Thread Bo Thorsen
Den 27-05-2013 17:00, Witold E Wolski skrev: > Hi, > > Project->Build & Run ) -> Build Settings -> Cmake "Run cmake" -> Arguments > > I have entered there: > -DCMAKE_BUILD_TYPE=Release > > > Now I would like to have a sekond kit where > -DCMAKE_BUILD_TYPE=Debug > > Is this possible? AFAIK, it isn'

Re: [Interest] QRegExp exclamation marks

2013-05-27 Thread Bo Thorsen
Den 27-05-2013 16:48, Sensei skrev: > Hi all, this is quite simple, I hope! > > I am trying to use the regexp application to find all patterns I need > before coding. Now, I'd like to match full words that have this patterns: > > > ! This is the text > > PROGRAM WARNING: This is the text > > > I've

[Interest] Reconfigure project : run cmake

2013-05-27 Thread Witold E Wolski
Hi, Project->Build & Run ) -> Build Settings -> Cmake "Run cmake" -> Arguments I have entered there: -DCMAKE_BUILD_TYPE=Release Now I would like to have a sekond kit where -DCMAKE_BUILD_TYPE=Debug Is this possible? -- Witold Eryk Wolski Triemlistrasse 155 8047 Zuerich _

[Interest] QRegExp exclamation marks

2013-05-27 Thread Sensei
Hi all, this is quite simple, I hope! I am trying to use the regexp application to find all patterns I need before coding. Now, I'd like to match full words that have this patterns: ! This is the text PROGRAM WARNING: This is the text I've come with the following: QRegExp r("PROGRAM WARNING

Re: [Interest] List of 3rd party Qt/QML plug-ins?

2013-05-27 Thread Pasion Jerome
Hello, We should keep the list of modules tidy and so far we have these pages: 1) http://qt-project.org/doc/qt-5.0/qtdoc/modules.html (only modules part of the Qt releases) 2) http://qt-project.org/wiki/Qt-Add-ons-Modules (modules that are n