Callables.with_name_regexes()
Functions Example
from glider import *
def query():
"""Retrieve the functions that:
- Start with `any` and end with a number
- Have `bbb` in their name but not `bbbb` or more consecutive b
"""
functions = Functions() \
.with_name_regexes([
r"^any.*\d$",
r"(?<!b)b{3}(?!b)"
]) \
.exec(100)
# Return the first five functions
return functions[:5]
Modifiers Example

Last updated