Skip to content

add validate parentheses environment markers#225

Open
mr54ndm4n wants to merge 2 commits intopypa:mainfrom
mr54ndm4n:feature/validate_environment_marker
Open

add validate parentheses environment markers#225
mr54ndm4n wants to merge 2 commits intopypa:mainfrom
mr54ndm4n:feature/validate_environment_marker

Conversation

@mr54ndm4n
Copy link

resolve #213

# check pattern "VAR OPS VALUE"
var_value_pair = re.findall(marker_var_ops_value_pattern, em)
for var_value in var_value_pair:
parts = re.compile(MARKER_OP_PATTERN).split(var_value)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use MARKER_OP instead of re.compile(MARKER_OP_PATTERN)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validate parentheses properly in environment markers

2 participants