OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-817) Add client-side function odata.matchesRegularExpression


     [ https://issues.oasis-open.org/browse/ODATA-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-817:
-----------------------------

    Environment: Proposed
       Proposal: 
Add a client-side function odata.matchesPattern (to align with term Validation.Pattern) that can be used within the Apply dynamic expression. 

It takes two arguments of type Edm.String and returns true if the first argument matches the regular expression in the second argument, using syntax and semantics of ECMA 262 (JavaScript) regular expressions, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions

  was:
Add a client-side function odata.matchesRegularExpression that can be used within the Apply dynamic expression. 

It takes two arguments of type Edm.String and returns true if the first argument matches the regular expression in the second argument, using syntax and semantics of JavaScript regular expressions, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions


The term Validation.Pattern already refers to ECMA 262 regular expressions.

According to the (rather coarse-grained) comparison in https://en.wikipedia.org/wiki/Comparison_of_regular_expression_engines the feature-set of ECMA 262 regular expressions is a subset of the regular expressions used by C#, Java, and Swift/Objective-C.



> Add client-side function odata.matchesRegularExpression
> -------------------------------------------------------
>
>                 Key: ODATA-817
>                 URL: https://issues.oasis-open.org/browse/ODATA-817
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData CSDL
>    Affects Versions: V4.0_ERRATA02
>         Environment: Proposed
>            Reporter: Ralf Handl
>            Assignee: Ralf Handl
>              Labels: Extension
>             Fix For: V4.01_CSD02
>
>




--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]