Part of bzrlib.lazy_regex View In Hierarchy
Known subclasses: bzrlib.tests.test_lazy_regex.InstrumentedLazyRegex
| Method | __init__ | Create a new proxy object, passing in the args to pass to re.compile |
| Method | __getattr__ | Return a member from the proxied regex object. |
| Method | _compile_and_collapse | Actually compile the requested regex |
| Method | _real_re_compile | Thunk over to the original re.compile |
| Parameters | args | The *args to pass to re.compile |
| kwargs | The **kwargs to pass to re.compile |
If the regex hasn't been compiled yet, compile it