Skip to content

state: improve lambda regex, allowing any key name#124

Merged
da-h merged 1 commit intov5-devfrom
fix_illegal_annotation_bug
Dec 20, 2022
Merged

state: improve lambda regex, allowing any key name#124
da-h merged 1 commit intov5-devfrom
fix_illegal_annotation_bug

Conversation

@da-h
Copy link
Copy Markdown
Owner

@da-h da-h commented Dec 20, 2022

FEATURENAME

This MR fixes the failing test introduced in #123.

Description

Problem
was that the regex did not match any string, but only keys consisting of proper words (i.e. "anyword").

New Behavior:
the new string-regex allows any string using "[^"]*" syntax instead. Also, this PR adds the possibility to use single quotation marks for the keys.

@da-h da-h requested a review from sbrodehl December 20, 2022 12:18
@da-h da-h merged commit e614386 into v5-dev Dec 20, 2022
@da-h da-h deleted the fix_illegal_annotation_bug branch December 20, 2022 12:32
@sbrodehl
Copy link
Copy Markdown
Collaborator

We should add the possibility to use single quotation marks, not only double quotation marks.

@da-h da-h removed the request for review from sbrodehl December 21, 2022 09:34
@sbrodehl
Copy link
Copy Markdown
Collaborator

We should add the possibility to use single quotation marks, not only double quotation marks.

Sorry, didn’t checked this before! Looks good to me.

@da-h da-h mentioned this pull request Jan 9, 2023
6 tasks
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.

2 participants