PATCH: kdelibs/kdecore/kstringhandler.cpp tagURLs() method

Stephan Hermann sh at kde-coder.de
Sun Jul 14 12:06:06 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Saturday 13 July 2002 13:59, Marc Mutz wrote:
> On Friday 12 July 2002 10:09, Stephan Hermann wrote:
> <snip>
>
> > No.
> > 	"*" == matching 0 or more times
> > 	+   == matching 1 or more times
> >
> > We want to check URLs not shortcuts like gg: or some malformed urls
> > out of the kurl testsuite ;)
> >
> > so + is the right choice...but I got a mistake in here and fixed it
> > (good point with testsuites, thx harri :)) a "/" was missing.
> >
> > > 2: a class with a single char?
> >
> > you mean \d ? you're right..this is one of the mistakes
>
> No, I meant what I taged with "^2" in the line below the regexp: You
> wrote "[/]", which is just equivalent to "/". And for (1), you wrote
> "{0,}", which would normally be written "*" and for (3) you wrote
>
> "{0,1}", which is:
> > > 3: wouldn't this be "?"

fck...I must change my kmail font to a courier font...it's really stupid with 
this...

ok...you're right, will change it.


> >
> > sure
>
> exactly. And it's still in your regexp. ;-)

fck font problem ;)
really...:)

you get a new patch tomorrow :)

\sh

- -- 
St. Hermann, Troisdorf
One solution for a simple problem: A7 B4 C2 D5 E8 F1 G3 H6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9MVshV8AnusWiV6wRAjSwAKDFwTGicbl2Dv7vF7Rj81GkPGAbUwCfeNkT
PJSWPjjB97B3/WAtAue03sM=
=gqJQ
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list