fish/build_tools
Fabian Homborg 04562300e8 Pexpect: Return the match object instead of the result
The result is just the *index* of the pattern that matched. But since
we never pass a *list* it's just always 0.

spawn.match is the MatchObject that produced the match, so it can be
used to post-process the matched output, e.g.

```python
m = expect_re('\d+')
m.group() # is now the matched number
```
2020-09-04 17:53:17 +02:00
..
2016-06-11 15:35:52 -07:00
2016-05-29 22:24:29 -07:00
2020-07-18 22:10:11 +02:00
2020-02-29 15:29:50 -08:00