in reply to Re^2: using a regex to determine if a string is the start of the FILE
in thread using a regex to determine if a string is the start of the FILE

Yes you can, (?ms:$regex).

Note that the scoping of /m inside the regex changed between perl 5.8.8 and perl 5.10.0.

  • Comment on Re^3: using a regex to determine if a string is the start of the FILE
  • Download Code