ariatosca-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tal Liron (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARIA-273) Allow user to choose among multiple regex engines for TOSCA constraints
Date Wed, 31 May 2017 15:39:04 GMT

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

Tal Liron updated ARIA-273:
---------------------------
    Description: 
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.

  was:
It should be easy to wrap various RE 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.


> 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: Minor
>
> 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)

Mime
View raw message