Skip to main content
Glama
edge-case-source.js743 B
// Edge case test file // Duplicate patterns for testing function processData(input) { return input; } function processData(newInput) { return newInput.toLowerCase(); } // Empty functions function emptyFunction() { } // Single line function function singleLine() { return true; } // Multiline strings with special chars const template = ` // This is a comment inside string function fakeFunction() { return "nested content"; } `; // Patterns that might confuse regex const regexTest = "function processData.*?^}"; const specialChars = "/*comment*/function test(){}//end"; // Very long line that might cause issues const longLine = "a".repeat(1000) + "function findThis()" + "b".repeat(1000); // End marker // FINAL_MARKER

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/witqq/clipboard-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server