Skip to content

feat: postal code validator (#12) with whitespace handling - #14

Merged
Robert-GeorgeDev merged 2 commits into
mainfrom
review/pr-12
Oct 27, 2026
Merged

Robert-GeorgeDev merged 2 commits into
mainfrom
review/pr-12

Conversation

@Robert-GeorgeDev

Copy link
Copy Markdown
Owner

What this changes

Lands #12 by @jay23606 (postal code validator) with a small follow-up:

  • Ignores spaces, dots and dashes in postal codes, like the other validators
  • Two more tests (whitespace, error message)
  • Postal codes added to the "What is checked" table; roadmap item ticked

Closes #11. Merging this also merges #12, since its commit is included unchanged.

Checklist

  • Tests cover the change
  • No real personal data

Generated by Claude Code

jay23606 and others added 2 commits October 27, 2026 04:56
Follow-up to #12: cleans the input before checking, adds tests and
lists postal codes in the README table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LqqTowH2NxGHN3urqpLyyY
@Robert-GeorgeDev
Robert-GeorgeDev merged commit ddb0ff0 into main Oct 27, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
github-pages — ddb0ff0d Deployed Oct 27, 2026 by Robert-GeorgeDev via deploy #8
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.

Add a validator for Romanian postal codes

3 participants