Pattern
/\b[0-9a-f]{7,40}\b/Sample text
commit a1b2c3d full deadbeefcafebabe0123456789abcdef01234567 too-short abcTest this pattern in the editor
7–40 hex characters typical of git commits.
/\b[0-9a-f]{7,40}\b/commit a1b2c3d full deadbeefcafebabe0123456789abcdef01234567 too-short abcTest this pattern in the editor
Standard 8-4-4-4-12 hex UUID layout.
Stricter UUID version 4 with variant bits.
MAJOR.MINOR.PATCH with optional pre-release.
Absolute POSIX-style filesystem paths.
Drive-letter paths with backslashes.
Find spaces/tabs at end of lines.