Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
TypeScript
/**
* A file name safe to paste, unquoted, into a stage command in any shell
* (POSIX, PowerShell, cmd).
*
* Letters and digits of any script and `._/@+-` only: no quote of any
* kind, no separator and no substitution can ride in it.
*/
export const SAFE_PATHSPEC_PATTERN = /^[\p{L}\p{N}._/@+-]+$/u