You could also try the following, as an alternative solution:
die "Invalid file, check output!" unless $dumpbuf =~ /^(?!0*$)[0-9A-F]+$/; # Ensure file contains a hex string other than all 0In reply to Re^4: Regex String
by SimonPratt
in thread Regex String
by egal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |