Get Any Count
get_any_countCount how many times a Python regular expression matches a given text and return the total as a count, helping quantify pattern occurrences in citation analysis.
Instructions
Count matches of a regular expression in a text. Returns {"count": n}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to search. | |
| regexp | Yes | Python regular expression (max 500 chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||