Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocsChangelog
Dev Tools
#conventional-commits
#commit
#git
#ci

Conventional Commit Message

Validates git commit messages adhering to the Conventional Commits specification.

✓ Git hook message validation✓ CI release automation gates✓ Developer workflow enforcement
/
/
Safe
Test String
4 matches
(…)Group #1— Capturing group — captures matched text for reuse or extraction
ff— 'f' — literal character
ee— 'e' — literal character
aa— 'a' — literal character
tt— 't' — literal character
||— | — alternation: matches expression on left OR right
ff— 'f' — literal character
ii— 'i' — literal character
xx— 'x' — literal character
||— | — alternation: matches expression on left OR right
dd— 'd' — literal character
oo— 'o' — literal character
cc— 'c' — literal character
ss— 's' — literal character
||— | — alternation: matches expression on left OR right
ss— 's' — literal character
tt— 't' — literal character
yy— 'y' — literal character
ll— 'l' — literal character
ee— 'e' — literal character
||— | — alternation: matches expression on left OR right
rr— 'r' — literal character
ee— 'e' — literal character
ff— 'f' — literal character
aa— 'a' — literal character
cc— 'c' — literal character
tt— 't' — literal character
oo— 'o' — literal character
rr— 'r' — literal character
||— | — alternation: matches expression on left OR right
pp— 'p' — literal character
ee— 'e' — literal character
rr— 'r' — literal character
ff— 'f' — literal character
||— | — alternation: matches expression on left OR right
tt— 't' — literal character
ee— 'e' — literal character
ss— 's' — literal character
tt— 't' — literal character
||— | — alternation: matches expression on left OR right
bb— 'b' — literal character
uu— 'u' — literal character
ii— 'i' — literal character
ll— 'l' — literal character
dd— 'd' — literal character
||— | — alternation: matches expression on left OR right
cc— 'c' — literal character
ii— 'i' — literal character
||— | — alternation: matches expression on left OR right
cc— 'c' — literal character
hh— 'h' — literal character
oo— 'o' — literal character
rr— 'r' — literal character
ee— 'e' — literal character
||— | — alternation: matches expression on left OR right
rr— 'r' — literal character
ee— 'e' — literal character
vv— 'v' — literal character
ee— 'e' — literal character
rr— 'r' — literal character
tt— 't' — literal character
(?:…)?Non-capturing group— Non-capturing group — groups without capturing (no index assigned) — repeated zero or one time (optional) · ? — zero or one time (optional)
\(\(— \( — escaped character '('
[…]+Character class […]— Matches any single character listed in this set — repeated one or more times (greedy) · + — one or more times (greedy)
\)\)— \) — escaped character ')'
!?!— '!' — literal character — repeated zero or one time (optional) · ? — zero or one time (optional)
::— ':' — literal character
— ' ' — literal character
.{1,100}.— . — matches any character except newline (unless 's' flag is set) — repeated between 1 and 100 times · {1,100} — between 1 and 100 times
Pattern: 97 charsInput: 132 chars
100% client-side · private

✓ Valid Examples

  • feat(auth): add login page
  • fix!: resolve database deadlock
  • chore: bump package version to 1.0.1
  • docs(readme): add installation guide

✗ Invalid Examples

  • add login page
  • fixed bugs
  • feat(): missing scope content
  • fix(scope):

Usage & Integration

Validate Conventional Commit Message natively in your backend or frontend without copying regex strings.

Node / Edge

import { validate } from '@regexto/validators';

validate('conventional-commit', '...');

Python

from regexto_validators import validate

validate("conventional-commit", "...")

Go

import "github.com/regex-to/validators-go"

valid, err := validators.Validate("conventional-commit", "...")

PHP

use RegexTo\Validators\Validator;

Validator::validate('conventional-commit', '...');

Rust

use regexto_validators::validate;

let is_valid = validate("conventional-commit", "...").unwrap();