The arguments can either be a string (matched exactly), or a regexp.
Specifying a regexp matching the prompt, and a regexp for characters preceding the prompt which are not part of it (and therefore will be part of the preceding result or main module’s code).
The arguments can either be a string (matched exactly), or a regexp.
Specifying a regexp matching the prompt, and a regexp for characters preceding the prompt which are not part of it (and therefore will be part of the preceding result or main module’s code).