You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ariatosca.apache.org by "Tal Liron (JIRA)" <ji...@apache.org> on 2017/05/31 15:39:04 UTC

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

Tal Liron created ARIA-273:
------------------------------

             Summary: 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 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.



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