Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. QRegExp
Qt 6.11 is out! See what's new in the release blog

QRegExp

Scheduled Pinned Locked Moved Language Bindings
3 Posts 3 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amarda_4
    wrote on last edited by
    #1

    Please help !!! I’m trying this code for regular expressions,but it always returns false…Any idea ?? Thank You !!

    @ if (user.contains(QRegExp("/^[a-z0-9]$/")))
    {
    QMessageBox::information (this, "Validation", "Valide !");}
    else

                   {
     
                  QMessageBox::warning(this, "Kujdes", "Te dhenat tuaja jane te pasakta.\n Riprovo perseri.");
         }
    }@
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      "Duplicate of":http://qt-project.org/forums/viewthread/28572/

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        [quote author="SGaist" date="1370552782"]"Duplicate of":http://qt-project.org/forums/viewthread/28572/[/quote]
        closing

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved