@JonB Sorry, I should have clarified. In my data model , there is only a single column , therefore I was referring to all model items as "rows". In other words, when I apply the filter with the regexp in the code, even when I enter a valid text , nothing is visible after filter processing . If the model data is :
aa
bb
And when I type b ( QString& text in the lambda expression ) , I am expecting to see :
aa
bb
Therefore I have asked the question that way assuming my expectation is correct.