$1
, $2
, ... variables to refer to
groups:while(<DATA>) { print "FOUND> $1\n" if m/^00 (.*) .F$/; } __DATA__ 00 99 12 83 C6 AB B7 AA DD 2F 12 99 33 83 C6 DD FE DD 2C 0F 00 98 18 83 1F 1C D0 E3 D0 DF 00 83 1F 00 98 E3 D0 DF 1C D0 |
Forward to 20 Minutes: Regular Expressions III
Back to 20 Minutes: Regular Expressions II Up to PerlInside section index Up to Perl Inside course index |
Perl Inside: PerlInside - 17
Copyright © 1999, Brian Jepson
|