NB.* RegExTableTests.txt: regular expression table tests. FTHDR=: 'DESC';'REGEX';'PGM' NB.* FT: file-types: description, regular expression for name, program to run. FT=: tablf2mat 0 : 0 VP funds monthly totals ^COPY OF RPT MAINSTAY VP NAV \(2\)\.XLS (VPDIR,'History\')&moveFlsToSaveDateDir VP daily positions ^VP(CONS|MOD|MODGRO|GRO)[0-9]{6}\.CSV moveVPHldFlsToDateDir VP Trade orders ^TRADE-VP(CONS|MOD|MODGRO|GRO)-[0-9]{6}\.CSV moveFlsToSaveDateDir AAF positions ^AA FUNDS POSITION REPORT [0-9]{2}\.[0-9]{2}\.[0-9]{4}\.XLS movePosnsToDatedDir VP Subscriptions/Redemptions ^SUBREDVP 20[0-9]{6}\.CSV moveVPSubRedToDatedDir VP daily cash ^(57200|57210|57220|57230) [0-9]{1,2}-[0-9]{1,2}-[0-9]{2,4} CASH.XLS moveVPCashFilesToDatedDir AAF daily cash ^(56580|56750|56760|56650) [0-9]{1,2}-[0-9]{1,2}-[0-9]{2,4} CASH.XLS moveCashFilesToDatedDir IncMgr daily cash ^57524 CASH [0-9]{1,2}-[0-9]{1,2}-[0-9]{2,4}.XLS (IMFHDR;y. reconfls=. _1~:({.@:,)&>(1{"1 FT) rxmatch&.>/y. sumrecon=. +/reconfls try. FTtest sumrecon;(<' '),&.>ntre#1{"1 FT end. retm1=. 1<+/|:reconfls NB. Regexes tested more than once if. 0(<' '),&.>retm1#1{"1 FT end. dupcl=. -.0 1 e.~sumrecon NB. Duplicate classification if. 0(<' '),&.>(0=sumrecon)#args end. ) metaTest_test_=: 0 : 0 NB. Force duplicate classification: FT=: FT,('Phony';'(57524|57525) CASH [0-9]{1,2}-[0-9]{1,2}-[0-9]{2,4}.XLS';'') FT=: FT,('Phony2';'(56525|56526) CASH [0-9]{2}-[0-9]{2}-[0-9]{2}.XLS';'') )