[Kbabel] Re: Kbable errors

Marco Wegner dubbleu@web.de
Sat, 11 Jan 2003 12:25:06 +0100


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

On Saturday 11 January 2003 11:48, Stanislav Visnovsky wrote:
> > <br> - valid
> > <BR> - error (case sensitivity)
>
> Not sure about this, add it as a special case? Is it that common?

You could perhaps resurrect the QRegExp'ses and use something like this in the
xml datatool?

QRegExp rx;
rx.setCaseSensitive( false );
rx.setPattern( "<br>" );
text.replace( rx, "<br/> );
rx.setPattern( "<hr>" );
text.replace( rx, "<hr/> );

Marco

- --
Marco Wegner <mail@marcowegner.de>, <dubbleu@web.de>
Contributing to KBabel http://i18n.kde.org/tools/kbabel
   and German KDE translation http://i18n.kde.org/teams/de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+H/8ZX3rotM03gSgRAlvvAKDd6BcoNQToYOHJcawftj2+3lV0AgCgx7AA
RQ5NBKQMxFD9/KH/AjYDOq4=
=eEGO
-----END PGP SIGNATURE-----