Developer Tools
Essential patterns for modern development workflows. Validate UUIDs, API keys, Hex color codes, and common system identifiers.
Cron Expression (Standard 5-Field)
Matches a standard 5-field Unix cron expression: minute hour day-of-month month day-of-week. Each field accepts a number, range, step, list, or wildcard.
Cron Minute Field
Validates the minute field of a cron expression: 0-59, wildcard, range, list, or step.
Cron Hour Field
Validates the hour field of a cron expression: 0-23, wildcard, range, list, or step.
Cron Day-of-Month Field
Validates the day-of-month field: 1-31, wildcard, range, list, step, or ? (Quartz).
Cron Month Field
Validates the month field: 1-12, wildcard, range, list, or step.
Cron Day-of-Week Field
Validates the day-of-week field: 0-7 (0 and 7 = Sunday), wildcard, range, list, step, or ?.
Cron Named Shortcut (@reboot, @daily, etc.)
Matches special named Vixie cron shortcuts: @reboot, @yearly, @annually, @monthly, @weekly, @daily, @midnight, @hourly.
Cron Expression (6-Field Quartz/Spring)
Validates a 6-field Quartz/Spring cron expression with seconds: seconds minute hour day-of-month month day-of-week.
Cron Step Value Extraction
Extracts the step value from a cron field like */15 or 0-59/5.
AWS EventBridge Rate Expression
Matches AWS EventBridge rate expressions: rate(5 minutes).
Semantic Version (Full SemVer 2.0.0)
Validates a full semantic version string per SemVer 2.0.0: MAJOR.MINOR.PATCH with optional pre-release and build metadata.
Semantic Version with 'v' Prefix
Matches a SemVer string with an optional v/V prefix, as used in Git tags.
SemVer Pre-Release Identifier
Validates a SemVer pre-release identifier segment (the part after the dash), including dot-separated identifiers.
npm Version Range (Caret ^)
Matches an npm caret range specifier (^1.2.3), allowing changes that do not modify the leftmost non-zero digit.
npm Version Range (Tilde ~)
Matches an npm tilde range specifier (~1.2.3), allowing patch-level changes when minor is specified.
SemVer Comparison Operator Range
Matches SemVer ranges with comparison operators: >=, <=, >, <, =.
SemVer Build Metadata Identifier
Validates a SemVer build metadata string (after the +), dot-separated alphanumeric identifiers.
Python Package Version (PEP 440)
Validates a Python package version string per PEP 440, supporting epochs, pre-release, post-release, dev, and local versions.
Maven Version (Java)
Matches a Maven-style version string as used in Java/JVM project dependencies.
Gradle / Kotlin Version
Matches a version string as commonly used in Gradle build files, supporting qualifiers.
Docker Image Name (Official/Simple)
Matches an official Docker Hub image name: lowercase alphanumeric with hyphens, underscores, and dots.
Docker Image Tag
Matches a Docker image tag (after the colon): alphanumeric chars, dots, hyphens, and underscores.
Docker Image Full Reference
Matches a complete Docker image reference: optional registry/namespace, image name, optional tag or digest.
Docker Image Digest (SHA256)
Matches a Docker content-addressable digest in sha256:hexstring format.
Docker Registry URL
Matches a Docker registry URL: hostname with optional port, as used in docker login and image references.
Dockerfile FROM Instruction
Matches a Dockerfile FROM instruction, capturing the image reference and optional AS alias.
Docker Container Name
Matches a valid Docker container name: starts with alphanumeric or underscore, followed by alphanumeric, underscore, hyphen, or dot.
Docker Port Mapping
Matches a Docker port mapping: [host_ip:]host_port:container_port[/protocol].
Docker Volume Mount
Matches a Docker volume mount: [host-path:]container-path[:mode].
Docker Environment Variable Assignment
Matches a Docker environment variable specification in KEY=value or bare KEY format.
Git Commit Hash (Full SHA-1)
Matches a full 40-character Git SHA-1 commit hash.
Git Commit Hash (SHA-256, New Format)
Matches a full 64-character Git SHA-256 commit hash (for sha256-format repositories).
Git Abbreviated Commit Hash
Matches an abbreviated Git commit hash: 4 to 40 hex characters.
Git Branch Name
Matches a valid Git branch name, excluding reserved names and invalid characters.
Git Tag Name
Matches a valid Git tag name following the same rules as branch names, conventionally with version prefixes.
Git Remote URL (HTTPS)
Matches a Git remote HTTPS URL as used with git clone and git remote add.
Git Remote URL (SSH)
Matches a Git remote SSH URL in the git@host:path format.
Git Fully Qualified Ref Path
Matches a fully qualified Git ref path as stored in .git/refs (refs/heads, refs/tags, refs/remotes, refs/notes).
GitHub Actions Workflow Expression
Matches a GitHub Actions workflow expression: ${{ context.property }}.
Conventional Commit Message
Validates a Conventional Commits 1.0.0 message: type(scope)!: description.
Log Level Detection
Matches a log level keyword in application log lines: TRACE, DEBUG, INFO, WARN, WARNING, ERROR, FATAL, CRITICAL.
ISO 8601 Log Timestamp
Matches an ISO 8601 timestamp as found in structured logs: YYYY-MM-DDTHH:MM:SS with optional milliseconds and timezone.
Apache/Nginx Combined Log Format
Matches an Apache or Nginx access log entry in Combined Log Format.
Syslog Priority and Facility
Matches and decodes a syslog priority field <N>, extracting facility and severity.
Java Stack Trace Frame
Matches a Java stack trace frame line: at package.Class.method(File.java:line).
Python Stack Trace Frame
Matches a Python traceback frame line: File "path", line N, in function.
Node.js Stack Trace Frame
Matches a Node.js V8 stack trace frame: at function (file:line:col).
Log File Path Extraction
Extracts Unix-style absolute file paths from log lines.
Duration / Time Elapsed Extraction
Matches a duration value with unit as commonly logged in performance and timing output.
HTTP Request Log Line
Extracts key fields from a structured HTTP request log: method, path, status code, and duration.
Unix Absolute Path
Matches a Unix-style absolute path starting with /, with slash-separated segments of safe characters.
Path Traversal Detection
Detects path traversal sequences (../ and ./) that could enable directory traversal attacks.
Unix Relative Path (Safe)
Matches a Unix-style relative path without leading slash, traversal sequences, or dangerous characters.
File Extension Extraction
Extracts the file extension from a filename, handling dotfiles, multiple dots, and full paths.
Windows Absolute Path (Drive Letter)
Matches a Windows absolute path starting with a drive letter (C:\), with backslash or forward slash separators.
Windows UNC Path
Matches a Windows UNC network path: \\\\server\\share\\path.
Windows Executable / Dangerous Extension Blocklist
Matches file extensions that are potentially dangerous to execute or serve on Windows and Unix.
POSIX File Permission Octal
Matches a Unix file permission string in octal notation (3-4 digits, each 0-7).
POSIX Environment Variable Name (Uppercase Convention)
Matches a POSIX environment variable name by convention: uppercase letters, digits, underscores, starting with letter or underscore.
Environment Variable Assignment (KEY=value)
Matches a full environment variable assignment capturing key and value separately.
dotenv File Line
Matches a .env file variable line with optional export prefix, quoted or unquoted values, and inline comments.
Shell Variable Interpolation
Matches shell variable interpolation: $VAR or ${VAR} with optional expansion operators.
AWS ARN (Amazon Resource Name)
Matches an AWS ARN with all standard components: partition, service, region, account, and resource.
Kubernetes Resource Name
Matches a valid Kubernetes resource name: lowercase alphanumeric with hyphens, max 63 characters (RFC 1123 DNS label).
Shebang Line
Matches a Unix shebang line at the start of a script file, capturing the interpreter path and arguments.
Command-Line Flag (Short / Long)
Matches command-line flags in short (-f) or long (--flag) format, optionally with a value.
Unix Username
Matches a valid Unix username: starts with letter or underscore, lowercase, max 32 chars.
Process ID (PID)
Matches a Unix process ID: a positive integer in the range 1-4194304 (Linux max PID).
Unix Signal Name
Matches Unix signal names with optional SIG prefix, including real-time signals.
YAML Key (Unquoted Scalar)
Matches a simple unquoted YAML mapping key: alphanumeric with underscores, hyphens, and dots, followed by a colon.
INI File Section Header
Matches an INI file section header: [SectionName] with optional inline comment.
INI File Key=Value Pair
Matches an INI file key-value pair with = or : delimiter, supporting inline comments.
TOML Bare Key
Matches a TOML bare key: ASCII letters, digits, underscores, and hyphens only.
Kubernetes Label / Annotation Value
Matches a Kubernetes label or annotation value: alphanumeric with hyphens, underscores, and dots, max 63 chars.