Menu

#7 Enhance record identification

open
nobody
None
5
2011-04-12
2011-04-12
Anonymous
No

Flatwork provides two mechanisms to match records (at least in the docs) the field-ident/match-string and the line lenght. While this is appropriate for most cases sometimes records need to be matched in a more advanced way. Say by line but looking at patterns in the line. How about adding a new construct <reg-ex> and it runs a regex on a line (I think scoping it to a line would work just fine, on a set of lines would be frosting on the cake).

so
<record-ident>
<reg-ex>^6\d\d\d0[Mm]</reg-ex>
</record-ident>
....
<record-ident>
<reg-ex>^6\d\d\d[Qq]</reg-ex>
</record-ident>
...

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.