As an aside, regular expressions might not be best for something that has fairly predictable formatting. Then again, It's my weakest area of Perl knowledge by far so take that with a grain of salt. Faced with the same problem, I came up with Parsing program output snippets.@lines = `quota -v`; my $header = shift @lines;
In reply to Re: Irregular Expressions
by shotgunefx
in thread Irregular Expressions
by JoeJaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |