Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.01_CS01
    • Fix Version/s: V4.01_CS02
    • Component/s: ABNF, Protocol, URL Conventions
    • Labels:
      None
    • Environment:

      Applied

    • Proposal:
      Hide

      Add matchesPattern as a $filter function:

       

      Edm.Boolean matchesPattern(Edm.String,Edm.String)

       

      The matchesPattern function returns true if the second parameter string value evaluates to a [[ECMAScript]|http://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/cs01/odata-csdl-xml-v4.01-cs01.html#ECMAScript] (JavaScript) regular expression and the result of the first argument string matches that regular expression, using syntax and semantics of [[ECMAScript]|http://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/cs01/odata-csdl-xml-v4.01-cs01.html#ECMAScript] regular expressions, otherwise it returns false.

      Show
      Add matchesPattern as a $filter function:   Edm.Boolean matchesPattern(Edm.String,Edm.String)   The matchesPattern function returns true if the second parameter string value evaluates to a [ [ECMAScript] |http://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/cs01/odata-csdl-xml-v4.01-cs01.html#ECMAScript] (JavaScript) regular expression and the result of the first argument string matches that regular expression, using syntax and semantics of [ [ECMAScript] |http://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/cs01/odata-csdl-xml-v4.01-cs01.html#ECMAScript] regular expressions, otherwise it returns false.
    • Resolution:
      Show
      https://github.com/oasis-tcs/odata-abnf/pull/8 https://www.oasis-open.org/committees/download.php/64118/odata-v4.01-wd06-part2-url-conventions-2018-10-19.docx https://www.oasis-open.org/committees/download.php/64119/odata-v4.01-wd06-part1-protocol-2018-10-19.docx  

      Attachments

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            matt.borges Matthew Borges
          • Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: