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
In reply to Re^5: Help to build a REGEXP
by Anonymous Monk
in thread Help to build a REGEXP
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |