You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Sujeet Mishra (Jira)" <ji...@apache.org> on 2021/08/16 19:33:00 UTC

[jira] [Created] (OLINGO-1539) Olingo does not support matchesPattern function

Sujeet Mishra created OLINGO-1539:
-------------------------------------

             Summary: Olingo does not support matchesPattern function
                 Key: OLINGO-1539
                 URL: https://issues.apache.org/jira/browse/OLINGO-1539
             Project: Olingo
          Issue Type: Bug
          Components: odata4-server
    Affects Versions: (Java) V4 4.8.0
            Reporter: Sujeet Mishra


MethodKind lacks support for matchesPattern. 

As per [https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#_Toc31360992] 

The matchesPattern function has the following signature:

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

The second parameter MUST evaluate to a string containing an [*[ECMAScript]*|https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#ECMAScript] (JavaScript) regular expression. The matchesPattern function returns true if the first parameter evaluates to a string matching that regular expression, using syntax and semantics of [*[ECMAScript]*|https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#ECMAScript] regular expressions, otherwise it returns false



--
This message was sent by Atlassian Jira
(v8.3.4#803005)