isn't a regex.if(/^HEADER(.*?)GENRE_BY(.*)/
You left out the close paren (for the "if" condition) that was in the OP, but apart from that, it is a regex. It is doing a match on $_, which is a normal and sensible thing to do.
In reply to Re^2: Question on RE based matching
by graff
in thread Question on RE based matching
by noobee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |