Correct use of QRegExp? What I do wrong.thanks
Hello
can someone please tell me what I'm doing wrong, the excerpt below should return two matches on each jpg below:
Thank you
Rx QRegExp ("http://my.test.com/(.*)". "") (JPG");
QString str ="
QStringListlist;
intpos = 0;
while ((pos = rx. BelATMOen (str, pos)) != -1) {
list<>
Cap (0) ;
POS = rx.
matchedLength ();
qDebug ()< "picurl:="" "=""><>cap(0);
}
Hello
It captures more than expected:
PicUrl: "http://my.test.com/00/s/OTYwWDcyMA==/$T2eC16J,!)sE9swm(w78BSEW80OTkw~~48_14.JPG" border="0"/>http://my.test.com/00/s/OTYwWDcyMA==/$(KGrHqNHJFIFILjbhF1KBSEW8wIJJQ~~48_14.JPG" QRegExp is greedy by default and does not support (. *?) syntax. To make it non-greedy, call setMinimal (true):
QRegExp rx("http://my.test.com/(.*).JPG"); rx.setMinimal(true);This produces the expected results:
PicUrl: "http://my.test.com/00/s/OTYwWDcyMA==/$T2eC16J,!)sE9swm(w78BSEW80OTkw~~48_14.JPG" PicUrl: "http://my.test.com/00/s/OTYwWDcyMA==/$(KGrHqNHJFIFILjbhF1KBSEW8wIJJQ~~48_14.JPG"
Tags: BlackBerry Developers
Similar Questions
-
How is it possible that my web browser favorite, confident using the / offers WOT? What has gone wrong? I'm disappointed / / Thomas, Germany
Tomew64 said
The problem I was Mozilla proposed this add, resp. create the possibility for download. Have not, they check the possible risks?
Mozilla did not this WOT extension, just like the vast majority of Extensions housed at addons.mozilla.org. Many Mozilla rendering Extensions have Mozilla or Mozilla Labs as the author.
-
Hi, I have cs6, indesign, and I can't use the black and the white arrow. I just bought the cs6. can someone please tell me what I did wrong. Thank you, alexandra
https://helpx.Adobe.com/InDesign/KB/InDesign-tools-panels-Don ' t - respond.html
-
The title pretty much sums up it - those are the things I can do all of a sudden no longer in Firefox. Does anyone have ideas, what can be wrong? I don't know it's probably just a setting somewhere but I have no idea!
Thank you
Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that disables certain parameters, disables most Add-ons (extensions and themes).
If Firefox is open, you can restart Firefox Safe mode in the Help menu:
- In Firefox 29,0 and above, click on the menu button
click Help
then select restart with disabled modules.
- In previous versions of Firefox, click on the Firefox button in the upper left of the Firefox window and click help (or click on help in the Menu bar, if you do not have a Firefox button) and click on restart with disabled modules.
If Firefox is not running, you can start Firefox in Mode safe mode as follows:
- On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
- On Mac: Hold the option key during the startup of Firefox.
- On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
(you may need to specify the installation path of Firefox for example/usr/lib/firefox)
When the Firefox Safe Mode window appears, select "start mode safe."
If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. Please follow the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.
To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.
When find you what is causing your problems, please let us know. This might help others with the same problem.
- In Firefox 29,0 and above, click on the menu button
-
When I go to opne phtos I stored in my pictures and documents they open to the word m ii in gobledegook
This has not happened before what has gone wrong.Hello, pearlsanderson
What version of Windows are you using?
The following links will help restore the file association: -
I burned an avi file which was a movie to a blank dvd but therfe was no audio recorded. What has gone wrong?
I burned an avi file which was a movie to a blank dvd but therfe was no audio recorded. What has gone wrong?
====================================
There are several types of AVI files, and they can
be problematic. Maybe the info would be
be interesting reading... good luck.If you want to just put your video on a DVD for
for archival purposes, you would create a data DVD.See the following article:
Windows 7 - burn a CD or DVD in Windows Explorer
http://Windows.Microsoft.com/en-us/Windows7/burn-a-CD-or-DVD-in-Windows-Explorer
(See "to burn a disc using the ISO image format")To create a video DVD (which will play in)
a free-standing DVD player)... you need DVD
Software authoring as Windows DVD Maker.See the following articles:
Windows 7 - burn a video DVD with Windows DVD Maker disc
http://Windows.Microsoft.com/en-us/Windows7/burn-a-DVD-video-disc-with-Windows-DVD-MakerIf you still have problems, the AVI may need to
be converted to WMV format before burning.There are to many converters available on the net...
some free, some details... the following freeware is
just an example:(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)Freemake Free Video Converter (freeware)
http://www.Freemake.com/free_video_converter/
(Windows XP / Vista / 7)
(* Read * all * the installation screens... it)
may be a few items you want to unmark *)When you have installed Freemake... Open Freemake
and drag and drop your video files on the main screen.Or... Click left on the video button and navigate to the
your video files are saved in the folder.Select (highlight) the files you want to import into
Freemake and left, click on the button 'open '.When video files are imported into Freemake,
On the left, click the WMV icon at the bottom of the screen.The 'WMV output settings' screen opens.
Choose a folder ' save in ', so you can find the
converted files.On the left, click the "Convert" button and wait for the files
to convert.That should do it...
-
Printing problems - I get the sizes of evil when I print from LR 5.5. on my Epson 3880 printer. USB connection. Reinstalled printer driver - not. Want to obey my print settings. What can be wrong?
I am not familiar with these communities - not provide Adobe and LR all direct support?
You bet it's your page layout. As I said, the Epson driver has many offers for the same size paper. In addition, do NOT use Auto expand in this selection.
-
Hello
I would like to have comments about the correct way to use snapshots.
Currently, I have a server ESXi 3.5 with 4 virtual machines.
I use snapshots as follows:
-J' still have 1 snapshot taken for each virtual computer
-J' have regularly (before the size of the snapshot becomes too large) remove the snapshot and just after, take a new snapshot for each virtual machine
-I will soon be able to make a backup of my virtual machines, but I don't now
I recently started to monitor the size of my virtual machines, and they become several GB in just a few days.
I wonder if it is efficient to always have a snapshot on each virtual machine.
I'm starting to think maybe this snapshot should be taken just before to make a change on the server (installation of the software or other) to return to the State that we had before the operation, in the case where he's going poorly, then remove the snapshot after we have confirmed the operation went well, but should not exist at all times.
Your comments are welcome! Thank you!
Yann
The snapshots are NOT backup anyway. If you use instant as replacement of backup then
(1) you lose a costly storage space
(2) that you have less reliable
(3) you generate disk load high commit when snapshots
What is the correct use of the snasphots:
(1) you need to install a patch on your virtual machine
(2) take the snapshot
(3) install the patch
(4) monitor behaviour of the system in case of patch broke something for awhile
(5) commit instant if everything is ok, or go back to the snapshot if something bad happened.
---
MCSA, MCTS, VCP, VMware vExpert 2009
-
Can merge is more events in pictures. any ideas what may be wrong?
Can merge is more events in pictures. any ideas what may be wrong?
Of course - Photos has no events, so there are no everts to merge
You can combine the albums (which your iPhoto events have been converted to) easily (not command fusion but easy to do) - display the sidebar (menu display ==> see the sidebar) and open the source album, then drag the photos into the destination album and if wanted to remove from the source album
LN
-
I use Windows XP and care April 2014 if I always use the it, what will happen after that Microsoft no longer supports it? My computer will become unusable? It works great and I would keep it if I can. I use a Dell Inspiron 530 desktop. Some people have told me that "nothing will happen" and others tell me that my computer will be more vulnerable. I use ESET NOD 32 and Malwarebytes. They tell me that they should still continue to work. I am told that because my computer was purchased in September 2008, he cannot me upgraded to Windows 7. I'm not a geek and would need assistance "passage" my files from one computer to the other as well. And then what to do with my old top office. I'm very worried and I had to face the fact that Microsoft is not going to deliver any security updates patches after April of 2014.
I can't wait to hear from someone on this problem and more just to go out and invest in Windows 8! Thank you.
I can tell you one thing, all or almost of windows xp device drivers will disappear from the computer manufacturers support websites and will reappear on all these shady sites who claim to be download for free but comes with unwanted software. Download the latest device drivers and keep several copies of them and download them to your skydrive or dropbox account fo guard.
I doubt that will happen. I've seen Windows 2000 drivers still on websites mfg.
-
original title: remote assistance
My brother bought window 7 and I use XP. What do we have to do for me to control his computer from my XP, so I can help or fix the errors.
all you need is an application called "Remote Desktop Connection", it comes pre-installed in windows 7, if you have windows XP home, you can't get the remote desktop, but if you upgrade to XP Professional you can.
-
I don't have a desk or use no matter what office thing. So why do I need Microsoft office or Outlook Express.
So is it safe to uninstall these programs?
What also makes Microsoft Silverlight &. Windows PowerShell for my use of the computer.
I don't see why these on my computer, if I do not use...
I just play games, send e-mail, search for things here. Nothing complicated stuff...
Please try to understand what I said/asked
Joel Stringer
EZjoelp (@) hotmail.comHi JoelStringer,
Outlook Express is a program built into Windows XP. It is not possible to uninstall Outlook Express.
If you installed Microsoft Office, you can uninstall of Add / Remove Programs.
Microsoft Silverlight is a powerful tool to create and deliver rich Internet applications and media experiences on the Web.
For more information, see this link.
For Windows power Shell, refer to this link.
http://msdn.Microsoft.com/en-us/library/aa973757 (v = vs. 85) .aspx
Note: please be careful with your personal information. If you post your email address in any forum, it can be used for any purpose by the general public, as this is a public forum.Do not post information that could be used by third parties to usurp your identity, your address and your phone number, your social security number, or your credit card number
Hope the helps of information.
Please post back and we do know. -
How to access a hard drive belonging to another computer, I have a bunch of hard drives and before you format it to use it again, I would like to see what is their. Thank you maldog
The easiest way is to use a USB to SATA or IDE USB adapter. (most of the adapters offer both).
Here is an example
http://www.Newegg.com/product/product.aspx?item=N82E16812232002 -
my mobile big samsung no connection to my pc using a cable what should I do
my mobile big samsung no connection to my pc using a cable what should I do
Hello
Please follow:Hope that will be useful!Thank you -
After you install the update for LR cc 2015/5 AffichageOptions in the library doesn´t Module shows any type of lens. What has gone wrong?
See this thread on the official Adobe feedback site: Lightroom CC 2015: objective metadata missing when importing field. Community customer Photoshop family
Maybe you are looking for
-
Satellite click Mini L9W - B cursor moves left to finish in the top left
the cursor on my mini click, every now and then continues to move left at the top left end, this causes the typos. What is the cause? and how can I put it right.see you soonJO
-
HP Mini 110: HP Mini 110 - fatal error system help please!
Hey yall, I have my laptop to a pawn shop and the old username and password were in force. I tried on the forums in order to bypass this password and eventually causing my computer to say "Fatal Error... System stopped. » It gives a code of CNU9487N
-
With the help of a shunt in 3, 3V application milliohm resistance.
I'm measuring low currents in an application by using a USB6009 wireless sensors. I expect in normal operation of the device-2uA and successfully measured on the lower part of the appliance with a 250 Ohm resistor. It was with a USB6008. Now, we woul
-
I'm under win 7 and invited this am to install 3 updates. Security for microsoft office system - KB976321 update will not install. Have tried several times but without success. Please notify.
-
Download Microsoft cim database
can I download cim of microsoft Basic. I have to install before I install my driver for Broadcom.