[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: qt 3
From: Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date: 2001-08-23 18:08:46
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 23 August 2001 16:51, Simon Hausmann wrote:
<snip>
> QRegExp is fully source compatible if you don't define QT_NO_CPMPAT.
<snip>
That's only half true. The class interface is compatible then, but the
regexp engine isn't. E.g.
pos = str.find("([0-9]+)"); // find occurences of numbers in parantheses
will work perfectly in Qt2, but fail horribly in Qt3: It will find each
occurence of a sequence of digits, not only inside parantheses. This
isn't much of an concern when the regexp is used explicitely, but
QString::find takes a QRegExp as first parameter, and don't tell me
everyone has this in mind when implementing something with it.
Marc
- --
It is truly ironic that the United States, once the beacon for
promoting the principles of freedom of expression, is now
systematically infecting other countries with this dangerous public
policy choice [the DMCA] that will restrict more speech than any law
before it. -- EFF FTAA Alert:
Stop Hollywood Forcing Technology Ban on 34 Countries
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7hUav3oWD+L2/6DgRAi66AJ9fZHyIqN6ZL6W/6cIX2YOYIYexwwCgnV1I
XEklH4SYsCaCHjxFqjUvtoc=
=vAwa
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic