You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presumably it has something to do with the regex having to match head in order to get to body, whereas it can discard/ignore tail once it's grabbed body?
Unclear why this would lead to the None matching output, though. Seems like the head pattern has to be making a pair of length-zero matches immediately before the body content starts.
This seems like a really uncommon situation, though...and it's not like it makes the Parser fail to match. So, figuring it out seems really YAGNI.
The text was updated successfully, but these errors were encountered:
Compare the passing test cases here for head, and here for tail.
Presumably it has something to do with the regex having to match head in order to get to body, whereas it can discard/ignore tail once it's grabbed body?
Unclear why this would lead to the
None
matching output, though. Seems like the head pattern has to be making a pair of length-zero matches immediately before the body content starts.This seems like a really uncommon situation, though...and it's not like it makes the
Parser
fail to match. So, figuring it out seems really YAGNI.The text was updated successfully, but these errors were encountered: