← Back to all work
GitHubLearning and foundations

Regex Validation in Bash

Shell exercises for email, PIN-code, and registration-field pattern matching.

STATUSHistorical learning project; current execution not revalidated in this review.
FOCUSLearning and foundations
DIAGRAM SCOPEWorkflow overview

THE PROBLEM

What it sets out
to solve.

Explore how regular expressions accept or reject sample user input.

THE APPROACH

How it comes
together.

Standalone scripts gather example values and apply Bash regex conditions; additional files retain pattern experiments.

UNDER THE HOOD

Follow the workflow.

Trace the components.
Select a node for its role in the system.

Documented implementation workflow4 COMPONENTS
INTERACTIVE 3DRegex Validation in Bash
BashRegular expressions
Move to tilt · Drag to rotate · Arrow keysDrag to rotate · Tap a component4 components · 3 connections
2D diagram
Trace connections 3 relationships
  1. Sample field inputScript regex pattern
  2. Script regex patternBranching result
  3. Branching resultConsole feedback

Select a component to see how it fits into the system.

CAPABILITIES

What’s inside.

  • 01

    Email pattern exercises

  • 02

    PIN-code validation

  • 03

    Interactive registration fields

  • 04

    Additional regex experiments

Let’s build something useful.

Start a conversation ↗