Skip to content

TEDEFO 4766 dynamic rules#158

Open
rousso wants to merge 4 commits intodevelopfrom
TEDEFO-4766-dynamic-rules
Open

TEDEFO 4766 dynamic rules#158
rousso wants to merge 4 commits intodevelopfrom
TEDEFO-4766-dynamic-rules

Conversation

@rousso
Copy link
Contributor

@rousso rousso commented Mar 20, 2026

Translator support for new EF-2 dynamic rules grammar constructs.

@rousso rousso requested a review from bertrand-lorentz March 20, 2026 14:19
Copy link
Contributor

@bertrand-lorentz bertrand-lorentz left a comment

Choose a reason for hiding this comment

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

Looks good, just a small cosmetic comment.

Comment on lines +148 to +149
.filter(var -> Pattern.compile("\\$" + Pattern.quote(var.name) + "(?![\\w-])")
.matcher(script).find())
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the RegEx matching could be written in a more straightforward way:

var -> Pattern.matches("\\$" + Pattern.quote(var.name) + "(?![\\w-])", script)

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