Regular Expressions · JSON Structure
Regular Expressions Pattern Structure
Structure documentation for a regular expression pattern with metadata and usage examples.
Type:
Properties: 0
Pattern MatchingProgrammingString ManipulationText ProcessingValidationSearchParsing
Regular Expression Pattern is a JSON Structure definition published by Regular Expressions.
Meta-schema:
JSON Structure
{
"name": "Regular Expression Pattern",
"description": "Structure documentation for a regular expression pattern with metadata and usage examples.",
"fields": [
{ "name": "id", "type": "string", "required": false, "description": "Unique identifier for the pattern." },
{ "name": "name", "type": "string", "required": false, "description": "Human-readable name for the pattern." },
{ "name": "description", "type": "string", "required": false, "description": "What the pattern matches and its intended use." },
{ "name": "pattern", "type": "string", "required": true, "description": "The regular expression pattern string." },
{ "name": "flags", "type": "string", "required": false, "description": "Default flags (e.g., 'gi', 'im')." },
{ "name": "flavor", "type": "string", "required": false, "description": "Regex flavor (PCRE, JavaScript, Python, .NET, etc.)." },
{ "name": "useCase", "type": "string", "required": false, "description": "Primary use case for the pattern." },
{ "name": "tags", "type": "array[string]", "required": false, "description": "Categorization tags." },
{
"name": "examples",
"type": "object",
"required": false,
"description": "Example strings demonstrating the pattern.",
"fields": [
{ "name": "matching", "type": "array[string]", "required": false, "description": "Strings that match the pattern." },
{ "name": "nonMatching", "type": "array[string]", "required": false, "description": "Strings that do not match." }
]
},
{
"name": "groups",
"type": "array[object]",
"required": false,
"description": "Capturing groups in the pattern.",
"fields": [
{ "name": "index", "type": "integer", "required": true, "description": "Group number (1-based)." },
{ "name": "name", "type": "string", "required": false, "description": "Named group identifier." },
{ "name": "description", "type": "string", "required": false, "description": "What the group captures." }
]
},
{
"name": "performance",
"type": "object",
"required": false,
"description": "Performance characteristics.",
"fields": [
{ "name": "backtracking", "type": "boolean", "required": false, "description": "Whether significant backtracking is used." },
{ "name": "catastrophicBacktracking", "type": "boolean", "required": false, "description": "ReDoS vulnerability risk." },
{ "name": "notes", "type": "string", "required": false, "description": "Performance notes." }
]
},
{ "name": "created", "type": "date", "required": false, "description": "Date created." },
{ "name": "modified", "type": "date", "required": false, "description": "Date last modified." }
]
}
Work with this as data
Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/regular-expressions-pattern-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.