Build, test, and debug regular expressions
Matches sinon stub configuration chains such as `stub.method.withArgs(arg1, arg2).returns(value)`. It captures the object and method name, any optional withArgs arguments, and the returns value. Ideal for find-and-replace operations when migrating test code from sinon to ts-mockito or refactoring fluent mocking APIs.