> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.revvue.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.revvue.ai/_mcp/server.

# jonnaWikiGrep

GraphQL QUERY

Literal or regex search over page bodies — the `rg` of the wiki. Returns line + column + snippet for each match. Use this for exact strings; use `jonnaWikiSearch` for natural-language queries.

Reference: https://docs.revvue.ai/api-reference/knowledge-hub/queries/jonna-wiki-grep

## GraphQL Schema

```graphql
query ExampleQuery($pattern: String!, $scope: WikiScopeInputGql, $locationId: String, $groupIds: [String!], $pathPrefix: String, $regex: Boolean!, $caseSensitive: Boolean!, $limit: Int!, $frontmatter: JSON) {
  jonnaWikiGrep(pattern: $pattern, scope: $scope, locationId: $locationId, groupIds: $groupIds, pathPrefix: $pathPrefix, regex: $regex, caseSensitive: $caseSensitive, limit: $limit, frontmatter: $frontmatter) {
    count
    hits {
      pageId
      path
      title
      scopeType
      scopeId
      lineNo
      column
      snippet
    }
  }
}
```

## Variables

```json
{
  "pattern": "example",
  "scope": null,
  "locationId": null,
  "groupIds": null,
  "pathPrefix": null,
  "regex": false,
  "caseSensitive": false,
  "limit": 50,
  "frontmatter": null
}
```