PersistentAI API Documentation / @persistent-ai/fireflow-vfs / path / INVALID_PATH_SEGMENT_CHARS
Variable: INVALID_PATH_SEGMENT_CHARS
constINVALID_PATH_SEGMENT_CHARS:RegExp
Defined in: packages/fireflow-vfs/src/path/constants.ts:62
Invalid characters in path segments (same as filename but allows /) Regular expression that matches invalid characters in file path segments.
Invalid characters include:
- Control characters (ASCII 0x00-0x1F): null, tab, newline, etc.
<and>: Used in file redirection:(colon): Reserved on Windows for drive letters and alternate data streams"(double quote): Reserved character in most filesystems|(pipe): Used for piping in shell commands?(question mark): Wildcard character in glob patterns*(asterisk): Wildcard character in glob patterns- `` (backslash): Path separator on Windows