Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Acode-Foundation/Acode
/ removeComments
Function
removeComments
hooks/modify-java-files.js:494–496 ·
view source on GitHub ↗
(content)
Source
from the content-addressed store, hash-verified
492
}
493
494
function
removeComments(content) {
495
return
content.replace(/\/\*[^]*?\*\/|([^\\:]|^)\/\/.*$/gm,
''
);
496
}
497
}
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected