Pattern
/(?:\/[\w.-]+)+\/?/
Sample text
/usr/local/bin/node /home/user/.config relative/pathTest this pattern in the editor
Absolute POSIX-style filesystem paths.
/(?:\/[\w.-]+)+\/?/
/usr/local/bin/node /home/user/.config relative/pathTest this pattern in the editor
MAJOR.MINOR.PATCH with optional pre-release.
7–40 hex characters typical of git commits.
Drive-letter paths with backslashes.
Find spaces/tabs at end of lines.
0x-prefixed hexadecimal integers.
Naive capture of JSON double-quoted strings.