in reply to Regex partial/leading match

Here are the appropriate docs: perlre, perlrequick, perlretut.

Replies are listed 'Best First'.
Re^2: Regex partial/leading match
by raymorris (Novice) on Dec 31, 2015 at 23:24 UTC
    Do you know of answer that's actually in one of those links? I've read each of those pages several times over the last 18 years and I can't think of any obvious answer covered there. Certainly there may be something, but nothing obvious, I'm pretty sure.

      Yes. I do know that the answer is there if you look hard enough. You might have to read between the lines though.

      So you really did read those docs? If so, you found that regexes don't work the way you want them to. That means that you have to find another way to achieve the end result.

      Updated: s/they way/the way/