On 27 Mar 2013, at 11:57, Sensei wrote: > On 3/27/13 11:47am, pa...@free.fr wrote: >> ----- Original Message ----- >>> You need to esc the \b. Write \\b instead. >> >> Hi >> >> There's a QRegExp tester in the Qt examples. I've always found this >> very useful for checking that the regexp is valid and that it does as >> expected. It can also produce correctly quoted strings that you can >> copy and paste into your source code. > > > Paul, that saved my day! It's a very useful tool! > > There is a little catch here, though: I must use "\\documentclass\\b", > without a preceding \b, or it wouldn't be recognized. > > I assume that "nothing" isn't a valid boundary here. > > Am I right? >
Hi Generally ^ and $ denote the beginning and end of a line. A+ Paul _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest