in reply to Weird bitmap output
Matching "Mon 11-2", the ".*" matches " 1", so your interval is from 1 to 2. Don't use ".*" here. "\s+" would be better.my ($day, $from, $to) = ($day_hours =~ /([A-Za-z]+).*(\d+)-(\d+)/);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Weird bitmap output
by insaniac (Friar) on Oct 20, 2004 at 15:16 UTC |