Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • SQL
    • None

    Description

      POSIX regular expressions provide a more powerful means for pattern matching than the LIKE and SIMILAR TO operators. Many Unix tools such as egrep, sed, or awk use a pattern matching language that is similar to the one described here.

      Operator Description Example
      ~ Matches regular expression, case sensitive 'thomas' ~ '.thomas.'
      ~* Matches regular expression, case insensitive 'thomas' ~* '.Thomas.'
      !~ Does not match regular expression, case sensitive 'thomas' !~ '.Thomas.'
      !~* Does not match regular expression, case insensitive 'thomas' !~* '.vadim.'

      https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-POSIX-REGEXP

      Attachments

        Activity

          People

            Unassigned Unassigned
            yumwang Yuming Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: