> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/functions/functions.with_modifier_name_regex-1.md).

# Functions.with\_modifier\_name\_regex()

`with_modifier_name_regex(`*`regex: str`*`) →` [`Functions`](/glider-ide/api/functions.md)

Adds a filter to get functions, that have modifier whose name matches the given regex.

## Example

```python
from glider import *

def query():
  
  # Fetch a list of functions with modifiers starting with 'only'
  functions = Functions().with_modifier_name_regex('^only.*').exec(3)

  return functions
```

## Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2F1GKSK6DNjhXWO0PT9LHc%2Fimage.png?alt=media&amp;token=13ae9425-b84e-4be2-b0f2-a2dc2a719f50" alt=""><figcaption></figcaption></figure>
