ahmadsamir added a comment.

  FTR; in one of my inline comments I said:
  
  > And I found that:
  > 
  > - {,3} in QRegExp is equivalent to {0,3}
  > - {,3} in QRegularExpression is equivalent to {1,3}
  
  The second part is actually wrong (as I was told by dfaure who was told by 
upstream QRegularExpression author); in QRegularExpression {,3} would be 
treated as a literal string, you must specify the first number before "," in {} 
expressions; so e.g.:
  {0,3}
  {1,3}
  {2,3}
  
  It's explained much better by upstream, see 
https://codereview.qt-project.org/c/qt/qtbase/+/285293

REPOSITORY
  R270 KCodecs

REVISION DETAIL
  https://phabricator.kde.org/D26123

To: ahmadsamir, #frameworks, dfaure, mlaurent, vkrause
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

Reply via email to