Remove unnecessary regular expressions.
commitcdb1e754dca838b62720e01a61642650010b9c65
authorJohannes Sixt <j6t@kdbg.org>
Thu, 21 Jan 2010 21:08:05 +0000 (21 22:08 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Sat, 23 Jan 2010 19:19:46 +0000 (23 20:19 +0100)
treecb3c34f98e11f1c9379c2a7332d046a8780881c8
parent0efc808f50abcb7d5a2461f8ac80d6e3aa38eff8
Remove unnecessary regular expressions.

The regular expression in parseMarker was searching for a constant string
at a fixed position, which is the same as strncmp(). Make it so.

The two regular expresssions in parseChangeExecutable() and parseCoreFile()
were only searching for a constant string anywhere in the text. Use
strstr() for this purpose.

In all cases an unnecessary implicit conversion of char* to QString was
removed.
kdbg/xsldbgdriver.cpp
kdbg/xsldbgdriver.h