Results 1 to 3 of 3

Thread: Regular Expression for matching Operators and symbols (+,-,=,/,*,&,!,@,#,$,^,_",",',)

  1. #1
    Join Date
    Nov 2013
    Posts
    11
    Qt products
    Qt5

    Default Regular Expression for matching Operators and symbols (+,-,=,/,*,&,!,@,#,$,^,_",",',)

    I tried this code rule.pattern = QRegExp("\\b+(?=\\()"); but its not working...can someone provide me code for matching Operators and symbols?

  2. #2
    Join Date
    Jan 2006
    Location
    Sta. Eugènia de Berga (Vic - Barcelona - Spain)
    Posts
    869
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    70
    Thanked 59 Times in 57 Posts

    Default Re: Regular Expression for matching Operators and symbols (+,-,=,/,*,&,!,@,#,$,^,_","

    Hi,

    Do you really think that opening three posts about the same question will make some of us to help you faster?
    You have some questions in your other posts that you have not replied.
    Òscar Llarch i Galán

  3. #3
    Join Date
    Dec 2012
    Posts
    197
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    25
    Thanked 41 Times in 33 Posts

    Default Re: Regular Expression for matching Operators and symbols (+,-,=,/,*,&,!,@,#,$,^,_","

    @^NyAw^ Agree.

Similar Threads

  1. "Unable to read symbols" Problem
    By weaver4 in forum Newbie
    Replies: 10
    Last Post: 20th December 2012, 23:36
  2. Replies: 2
    Last Post: 23rd May 2012, 16:07
  3. CaptureText of on "AND operation" Regular Express
    By alancupid in forum Qt Programming
    Replies: 0
    Last Post: 23rd April 2012, 07:57
  4. Replies: 3
    Last Post: 15th February 2010, 18:27
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 20:05

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
  •  
Qt is a trademark of The Qt Company.