in reply to Re^3: Help to build a REGEXP
in thread Help to build a REGEXP

I can easily match the wanted part, if I slurp the whole entry in one variable, using the $/ operator...
But problem is that the teacher is a bit weird and thinks these are "non-pedagogical stuff"...
Inside $_ it's only each current line of the entry, nothing more...

Replies are listed 'Best First'.
Re^5: Help to build a REGEXP
by Anonymous Monk on Mar 12, 2014 at 11:46 UTC

    I can easily match the wanted part, if I slurp the whole entry in one variable, using the $/ operator... But problem is that the teacher is a bit weird and thinks these are "non-pedagogical stuff"... Inside $_ it's only each current line of the entry, nothing more...

    In that case think harder