Hi all,
maybe this is not only a Qt question.
I'm using QRegExp for replace any occourrence of a word composed by one or two letters.
I don't get what expected, what I'm doing wrong?
thanks for any help/

Qt Code:
  1. QString resS = QString("a la test da che da me asdf non va");
  2. resS.replace(QRegExp("[a-z]{1,2}"), "X");
To copy to clipboard, switch view to plain text mode 

I get this:
X X XX X XX X X XX XX X

instead of
X X test X che X X asdf non X