Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT::CaseSensitive vs ExactMatch
Qt 6.11 is out! See what's new in the release blog

QT::CaseSensitive vs ExactMatch

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 2.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.
  • B Offline
    B Offline
    BKBK
    wrote on last edited by
    #1

    Please direct me to a site that explains the difference between the two modes of the question title.
    For example: What is a string that would match with CaseSensitive but not ExactMatch.
    And the reverse.
    Thank you for your time.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      With case sensitivity you can search for words containing a sequence of letter matching the casing. With exact match, as the name suggest, you look for the exact pattern.

      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
      2
      • B Offline
        B Offline
        BKBK
        wrote on last edited by
        #3

        I am not understanding the difference between the two.
        Is exact a super set of case sensitive? (Does it have all the restrictions and then adds more.)
        Please show a string that will match in exact but not case, or maybe the reverse if that is the situation.

        JonBJ 1 Reply Last reply
        0
        • B BKBK

          I am not understanding the difference between the two.
          Is exact a super set of case sensitive? (Does it have all the restrictions and then adds more.)
          Please show a string that will match in exact but not case, or maybe the reverse if that is the situation.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @bkbk
          They are quite separate things, independent, may or may not be combined. You have not given the documentation link reference of where exactly you are looking at them in Qt.

          Case sensitivity means upper and lower case letters in your language do not match. Case insensitivity they do match.

          ExactMatch means the whole string should match, without that a partial/substring match is acceptable.

          abc     matched against    abc          exact match, case sensitive
          ABc     matched against    AbC          exact match, case insensitive
          aBc     matched against    defaBcghi    partial match, case sensitive
          ABc     matched against    defAbCghi    partial match, case insensitive
          
          
          
          1 Reply Last reply
          4

          • Login

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