Skip to main content
Glama
regex.js963 B
/* Basic building blocks for color regexes --------------------------------------- These regexes are expressed as strings to be interpolated in the color regexes. */ // <number> export const num = '([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)'; // <number> or 'none' export const num_none = `(?:${num}|none)`; // <percentage> export const per = `${num}%`; // <percent> or 'none' export const per_none = `(?:${num}%|none)`; // <number-percentage> (<alpha-value>) export const num_per = `(?:${num}%|${num})`; // <number-percentage> (<alpha-value>) or 'none' export const num_per_none = `(?:${num}%|${num}|none)`; // <hue> export const hue = `(?:${num}(deg|grad|rad|turn)|${num})`; // <hue> or 'none' export const hue_none = `(?:${num}(deg|grad|rad|turn)|${num}|none)`; export const c = `\\s*,\\s*`; // comma export const so = '\\s*'; // space, optional export const s = `\\s+`; // space export const rx_num_per_none = new RegExp('^' + num_per_none + '$');

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/MatheusgVentura/Project-One'

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