swiftone has asked for the wisdom of the Perl Monks concerning the following question:
So far, I'm good on everything except the parsing. The text is straight ascii in the form:
(a)blahblahblahblah (1)blahblahblahblah (A)blahblahblahblah (i)blahblahblahblahWhere each multi-line section is:
The parser needs to be able to identify each section, as well as understand it's parentage. (i.e. b.2.C.iii would have to know that it was not only iii, but also a "child" of b.2.C)
I wrote up a chunky little parser that does the deed, but I've run into complications:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parsing the Law
by merlyn (Sage) on May 30, 2001 at 01:05 UTC | |
|
Re: Parsing the Law
by Masem (Monsignor) on May 30, 2001 at 00:46 UTC | |
by swiftone (Curate) on May 30, 2001 at 01:10 UTC | |
|
Re: Parsing the Law
by cLive ;-) (Prior) on May 30, 2001 at 00:55 UTC | |
by swiftone (Curate) on May 30, 2001 at 01:00 UTC | |
|
Re: Parsing the Law
by swiftone (Curate) on May 30, 2001 at 00:11 UTC | |
|
Re: Parsing the Law
by Anonymous Monk on May 30, 2001 at 01:20 UTC |