On Tue, Mar 29, 2022 at 09:12:36AM +0200, StrikerOmega wrote:

> The grab function would find the index of the first occurrence of the
> "start" string in the parent string and then the next occurrence of the
> "end" string starting from that index and return the substring between
> those.

That's what I guessed it would do. So your earlier statement:

"You can also "grab" values enclosed in brackets or in any kind of 
character and It works as you would expect."

is wrong. When using brackets I expect it to understand nesting.


-- 
Steve
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/OY3QBRRJVRRB3SWS54CRUFA2O6QA22X5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to