Skip to content

set_regex matches variants that end with tokens #5812

@isuruf

Description

@isuruf

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

find_used_variable_in_text has a regex set_regex which matches the variant ace because of the token replace in the following search text.

{% set p = zlib.replace(".", "") %}

Conda Info

Conda Config

Conda list

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type::bugdescribes erroneous operation, use severity::* to classify the type

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions