Skip to content

Reject trailing newline in alnum, url and e164#352

Merged
beberlei merged 1 commit into
beberlei:masterfrom
edorian:fix/regex-dollar-anchor-newline-bypass
Jun 10, 2026
Merged

Reject trailing newline in alnum, url and e164#352
beberlei merged 1 commit into
beberlei:masterfrom
edorian:fix/regex-dollar-anchor-newline-bypass

Conversation

@edorian

@edorian edorian commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Add PCRE_DOLLAR_ENDONLY modifier to disallow strings with trailing newlines.

Asserts that wrap PHP functions like numeric("123\n") are untouched.

Add PCRE_DOLLAR_ENDONLY modifier to disallow strings with trailing newlines.

Asserts that wrap PHP functions like numeric("123\n") are untouched.
@beberlei beberlei merged commit 0962bb1 into beberlei:master Jun 10, 2026
10 checks passed
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