Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-21116

Add specials option to TOKENS()

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.6.0, 5.0.0
    • 4.5.0
    • query
    • None

    Description

      Per customer request, add an options to TOKENS that preserves strings with specials characters, e.g. email addresses, URLs, and hyphenated phone numbers.

      TOKENS( [ 'jim@abc.com, kim@abc.com, http://abc.com/, 408-555-1212' ],

      { 'specials': true }

      )

      returns

      "$1": [
      "408-555-1212",
      "http://abc.com",
      "jim@abc.com",
      "kim@abc.com"
      ]

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Prerna.Manaktala Prerna Manaktala (Inactive)
              gerald Gerald Sangudi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty