I'm in way over my head here, but perhaps someone can steer me in the right direction. Bear with me, I have no computer science background whatsoever! Nonetheless, trying to get my head around the following:
In this patch you'll see I'm trying to use jit.str.regexp to match some text in a website. I'm trying to match text in between two things, so I'm using "(.*)"
If you try Example 2 on the right, it works fine. I can get "National Geographic All Rights Reserved" by using "/National(.*?)Reserved/"
However, if you try Example 1 on the left, the same approach does not find the match "Solar System Live". In fact, I can't generate ANY matches at all from that url, even just something like a single word, like "Solar" by using "/Solar/"
What could it be about Example 1 that is prohibiting jit.str.regexp from working as it does in Example 2?
Any suggestions greatly appreciated--many thanks.