in reply to Re^2: matching characters and numbers with regex
in thread matching characters and numbers with regex

or better yet, i could read each byte without converting it to string, and see if the next 2/4/and 8 bytes matches it. if it does then its a corrupt file
  • Comment on Re^3: matching characters and numbers with regex

Replies are listed 'Best First'.
Re^4: matching characters and numbers with regex
by james28909 (Deacon) on May 31, 2014 at 23:42 UTC
    nevermind, i just read and understood the comments lol, thanks again yall :)
      on a side note, if anyone else ever reads this thread, here is a very good page on pattern matching with perl: http://work.lauralemay.com/samples/perl.html