The code you quoted which says int index = 0 indicates the default value when calling this method.
If you do not pass a value for the parameter it will return the entire match. When you want to return the first capture pass one, to return the second capture pass two, etc.
Barbara
Search found 452 matches
- Sat Nov 20 2021 6:52 pm
- Forum: Developers
- Topic: QRegularExpressionmatch documentation bug
- Replies: 4
- Views: 4459
- Tue Nov 16 2021 6:04 am
- Forum: Developers
- Topic: QRegularExpressionmatch documentation bug
- Replies: 4
- Views: 4459
Re: QRegularExpressionmatch documentation bug
Looking at the full example we noticed the comment for "first equals "35" should have said "number equals "35". This is being corrected in the documentation. Calling "match.captured(0)" will always returns the entire match. In this example this returns the str...
- Mon Nov 15 2021 5:41 am
- Forum: Developers
- Topic: QString documentation issue
- Replies: 1
- Views: 2962
Re: QString documentation issue
Thanks for catching this. Turns out the correct result is actually "trbe" since the "." in the regex will remove any character following a vowel. We are making the change in the API docs.
- Thu Oct 14 2021 11:13 pm
- Forum: User Support
- Topic: CopperSpice on Arm - again
- Replies: 4
- Views: 11207
Re: CopperSpice on Arm - again
Just letting you know this is something we will be working towards the beginning of November, after CppCon.
Barbara
Barbara
- Thu Oct 14 2021 9:13 pm
- Forum: User Support
- Topic: Copper Spice on M1 Mac
- Replies: 22
- Views: 24839
Re: Copper Spice on M1 Mac
We are currently working with another company in Germany on their embedded requirements. Our current idea is to purchase a Raspberry PI as the first officially supported ARM platform.
Barbara
Barbara
- Fri Oct 08 2021 10:04 pm
- Forum: Developers
- Topic: QSqlRecord documentation issue
- Replies: 1
- Views: 3251
Re: QSqlRecord documentation issue
Thanks, we will look into this.
- Sat Sep 25 2021 5:24 pm
- Forum: Developers
- Topic: Documentation bug - QMultiMap
- Replies: 3
- Views: 7424
Re: Documentation bug - QMultiMap
New CopperSpice API documentation has been uploaded. There are a substantial changes in the parameter names and improved method descriptions. Both QMap and QMultiMap were changed.
Barbara
Barbara
- Fri Sep 24 2021 11:18 pm
- Forum: Developers
- Topic: PDF library
- Replies: 4
- Views: 5111
Re: PDF library
. . . they are very often using viral licenses such as GPL/AGPL. I want to be more benevolent, so PDF4QT project uses LGPL license, version 3, so it is usable also in commercial applications. I do not want to restrict people from using my library. We value knowing about other third party libraries....
- Fri Sep 24 2021 4:50 pm
- Forum: Developers
- Topic: Documentation bug - QMultiMap
- Replies: 3
- Views: 7424
Re: Documentation bug - QMultiMap
We did a review of QMap and QMultiMap and there is more information about the compare template parameter in the QMap documentation. Please have a look in the detailed section for "Overriding Sort Order" (in QMap) where we show the default comparator and also an example of a user defined Co...
- Sat Sep 18 2021 1:34 am
- Forum: Developers
- Topic: Documentation bug - QMultiMap
- Replies: 3
- Views: 7424
Re: Documentation bug - QMultiMap
Introduces C compare which is not part of Qt. Uses it lots of places. It is very important to understand that CopperSpice is not Qt. We are transitioning to a set of libraries and away from a framework. We kindly ask that you migrate away from thinking that CopperSpice needs to match what they have...