Skip to content

Substring literal "in" breaks with items syntax #153

@trstruth

Description

@trstruth
SUMMARY

The statement with: interface in <% list("1","2","3") %> fails because the string interface contains the substring in. The resulting error message is

TypeError: The value of "terface in <% list("1","2","3") %>" is not type of list.

I this this happens because it is breaking the regex here

I've created a repro workflow here

ISSUE TYPE
  • Bug Report
STACKSTORM VERSION

st2 2.10.1, on Python 2.7.6

OS / ENVIRONMENT / INSTALL METHOD

default docker container

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions