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

`with_modifier_name_regex(`_`regex: str`_`) →` [`Functions`]()

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&#x26;token=13ae9425-b84e-4be2-b0f2-a2dc2a719f50" alt=""><figcaption></figcaption></figure>
