Little confused about match priority with *
The pattern ( * _[my i] _*)
and the input “I have my heart set on her”
matches _0 _1 “my heart set on her” not as “I have my heart set on her”. Is there any way I can get a pattern to not use * if the next element after * works.
The only way I can currently think is to check for some words in in * by using burst and findtext.
Is there some builtin way to change match priority of *?
The reason is because I want to capture the text following the second I of strings like “I am happy because it feels like I have my heart set on her” and current patterns like
(I _* _~emotions * [since because as when* time so ] * _[ my a the I] _* )
do not work properly.