Quantifiers and greed
·predict · hard
Read the tag stripper
A pattern for pulling the contents out of a tag. Say what it matches in each line, and what group one comes back holding. One of these lines is the reason this pattern gets rewritten.
//
<b>()</b>
<b>(*)</b>
Your prediction
| Input | Matches? | 1 |
|---|---|---|
| <b>hi</b> | — | |
| <b>one</b> and <b>two</b> | — | |
| <b></b> | — | |
| no tags here | — |
Nothing runs until you have answered every row.