You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ariatosca.apache.org by "Ran Ziv (JIRA)" <ji...@apache.org> on 2017/06/01 07:43:04 UTC

[jira] [Updated] (ARIA-273) Allow user to choose among multiple regex engines for TOSCA constraints

     [ https://issues.apache.org/jira/browse/ARIA-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ran Ziv updated ARIA-273:
-------------------------
    Priority: Trivial  (was: Minor)

> Allow user to choose among multiple regex engines for TOSCA constraints
> -----------------------------------------------------------------------
>
>                 Key: ARIA-273
>                 URL: https://issues.apache.org/jira/browse/ARIA-273
>             Project: AriaTosca
>          Issue Type: Story
>            Reporter: Tal Liron
>            Priority: Trivial
>
> It should be easy to wrap various regex engines via an API and make this configurable to the user. (Specifically to be used for TOSCA constraints.)
> The reason this is necessary is that Python's {{re}} is rather quirky and may not be compatible with other TOSCA implementations. Of course, this is all OASIS's fault for not specifying the regex language!
> For Python especially note there is a [wrapper library|https://github.com/awahlig/python-pcre] supporting [PCRE|http://www.pcre.org/], which is likely the most widely used regex. It might even be worth considering making PCRE the default for ARIA.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)