in reply to Re^3: Creating spacers in regex match
in thread Creating spacers in regex match

I tried the xdigit line you gave me and it didnt work.
my $str = "06 03 01 0f 0e 0b"; if ($str=~ /06 03 01 [[:xdigit:]]{2} [[:xdigit:]]{2} 0b/){ print "hi"; }

Replies are listed 'Best First'.
Re^5: Creating spacers in regex match
by JavaFan (Canon) on Jul 08, 2011 at 21:12 UTC
    Can you be a bit more specific than "didn't work"? When I try, it prints hi.