Results 1 to 8 of 8

Thread: RegExpr

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    976
    Qt products
    Qt3
    Platforms
    Windows
    Thanks
    53

    Default Re: RegExpr

    Hello, I've got this problem here:
    Qt Code:
    1. @"(?<first>[a-z]+)?(?<second>hello\(\))"
    To copy to clipboard, switch view to plain text mode 
    I just want recognize hello() in <second> group;
    <first> can recognize:
    ffddfhello
    ffffhello
    helloWorld
    hello
    helloffffff
    But I can't recognized hello() in the second group........when input string is hello() I can see that hello (and only hello) is recognize by first (instead hello() must be recognized by second enterely....)
    Is there an error please?
    Regards

  2. #2
    Join Date
    Jan 2006
    Posts
    976
    Qt products
    Qt3
    Platforms
    Windows
    Thanks
    53

    Default Re: RegExpr

    hi, is there a way to say in the <first> :"don't recognize 'hello()' "?
    Regards

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.