The first line strips out every string preceding an eight-digit hex number or end of string. The second line splits the string into two-digit substrings and prints them.$return{"objdump"} =~ s/.*?([0-9a-f]{8}|$)/$1/gs; print "\\x$_" for $return{"objdump"} =~ /../g;
In reply to Re^2: Simple regex
by Roy Johnson
in thread Simple regex
by Isothop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |