[Qt-interest] Problems with QRegExp , can not Match URL Escaped String

Aaron Lewis aaron.lewis1989 at gmail.com
Sun Feb 28 03:18:23 CET 2010


Hi,
    I tried to match string like "%69%ac%20"

    I will match "%" first , then two numbers.
   And this pattern should appear at least once.

    However , this aim't gonna work.

    QRegExp isEscape("^%[0-9]{2}{1,}$");

    Do i forgot something here?

Thanks in advance.

-- 
Best Regards,
Aaron Lewis - PGP: 0xA476D2E9
irc: A4r0n on freenode




More information about the Qt-interest-old mailing list