Results 1 to 2 of 2

Thread: Creating Regular Expression in Qt

  1. #1

    Default Creating Regular Expression in Qt

    How can I form a regular expression in Qt so that I can match it against a string?

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Creating Regular Expression in Qt

    Start by reading the documentation for the QRegularExpression / QRegExp classes. QRegularExpression is preferred since it conforms more closely to the Perl regular expression syntax. Tutorial here.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Help with a regular expression.
    By ayanda83 in forum Qt Programming
    Replies: 3
    Last Post: 11th March 2017, 02:46
  2. Regular expression
    By aguleo in forum Newbie
    Replies: 0
    Last Post: 25th January 2013, 16:00
  3. Regular expression
    By QFreeCamellia in forum Newbie
    Replies: 8
    Last Post: 30th December 2011, 23:34
  4. Regular expression help!
    By ConkerX in forum Qt Programming
    Replies: 10
    Last Post: 31st August 2011, 16:47
  5. Help with regular expression
    By Gourmet in forum General Programming
    Replies: 19
    Last Post: 11th August 2011, 16:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.