Closed kaspiana closed 3 months ago
If a tag node's text contains an *, then that text should match any tag names which conform to it. For example:
*
Matching *_lalonde
*_lalonde
rose_lalonde
roxy_lalonde
beta!roxy_lalonde
alpha!rose_lalonde
Matching *rose*
*rose*
Matching alpha!*
alpha!*
alpha!dave_strider
We can achieve this by simply finding all tag names that match the pattern, and then outputting them as a disjunction.
If a tag node's text contains an
*
, then that text should match any tag names which conform to it. For example:Matching
*_lalonde
rose_lalonde
roxy_lalonde
beta!roxy_lalonde
alpha!rose_lalonde
Matching
*rose*
rose_lalonde
alpha!rose_lalonde
Matching
alpha!*
alpha!rose_lalonde
alpha!dave_strider
We can achieve this by simply finding all tag names that match the pattern, and then outputting them as a disjunction.