in reply to Re: Regex to match 20 chars of some digits followed by some spaces
in thread Regex to match 20 chars of some digits followed by some spaces
The rest is somewhat like this (deboned to protect client)
but for 15 different reports, hundreds of lt records, lots of options, repeats and alternations.document : checkpoint address report(s?) doctrailer report : report1 | report2 | report3 | ... report1 : lt[100] report1_cost_centre(s?) lt[200] report1_cost_centre : lt[300] report1_txn(s?) lt[400] report1_txn : lt[500] lt[600] page_break(?) lt[700] lt : "<LT$arg[0]>" lt_data lt_data : /[^\\]*/ lt_end {$return = $item{__PATTERN1__} ...
+++++++++++++++++
#!/usr/bin/perl
use warnings;use strict;use brain;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Regex to match 20 chars of some digits followed by some spaces
by tachyon (Chancellor) on Dec 19, 2003 at 03:35 UTC |