Skip to content

Widen ESCAPED_REGEX: comments, Liquid tags, multi-line markup, quoted braces - #99

Merged
sjahu merged 1 commit into
Shopify:mainfrom
allannyang:escaped-regex-coverage
Oct 7, 2026
Merged

sjahu merged 1 commit into
Shopify:mainfrom
allannyang:escaped-regex-coverage

Conversation

@allannyang

@allannyang allannyang commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #97. This widens our regex fix. Nothing valid gets worse, and it stays fast!

… braces

Follow-up to Shopify#97. Keeps Regexp.linear_time? true. Zero output changes on
Shopify Core's English locale files except 19 Liquid email subjects where
{% if %} tags are now preserved instead of pseudolocalized.

@sjahu sjahu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice, looks good to me

@sjahu
sjahu merged commit b3bf1b1 into Shopify:main Oct 7, 2026
7 checks passed

This branch was successfully deployed

1 active deployment
rubygems — f5473a9f Deployed Oct 13, 2026 by shopify-shipit[bot]
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