Extract lines that start with a given plain-text prefix using multiline anchors.
Constraints
Example
```python
>>> match_lines('apple\nbanana\napple pie\ncherry', 'apple')
['apple', 'apple pie']
>>> match_lines('abc\ndef\nabc', 'def')
['def']
>>> match_lines('one\ntwo\nthree', 'x')
[]
```
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints