MCPcopy
hub / github.com/codeaashu/claude-code / cleanWord

Function cleanWord

src/utils/suggestions/commandSuggestions.ts:542–544  ·  view source on GitHub ↗
(word: string)

Source from the content-addressed store, hash-verified

540
541// Helper function at bottom of file per CLAUDE.md
542function cleanWord(word: string) {
543 return word.toLowerCase().replace(/[^a-z0-9]/g, '')
544}
545
546/**
547 * Find all /command patterns in text for highlighting.

Callers 1

getCommandFuseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected