Don't forget that the * is a special character in regexps. To match a literal *, you have to put a backslash before it.
Better yet, given the format of your lines, you could just use split() on each line:
my @bits = split(/\*/); push(@logg, $bits[0]);
In reply to Re: Regular Exp. Problem!
by ishnid
in thread Parsing Log Files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |