Run with:
$ spexs2 --conf conf.json success=h10.success failure=h10.failure
Pat?() Matches(success) Matches(failure)
gf 5 0
Run with:
$ spexs2 --conf conf.json success=h10.success failure=h10.failure
Pat?() Matches(success) Matches(failure)
gf 5 0
eddeasffa | |
edssfdgea | |
sdsadsd | |
ggssfd | |
fesafsgae |
sssfggf | |
fgff | |
desgffgdssa | |
segfedgsge | |
ggfssgasfg |
{ | |
"Dataset": { | |
"success" : { "File" : "$success$" }, | |
"failure" : { "File" : "$failure$" } | |
}, | |
"Reader" : { | |
"Method" : "Delimited", | |
"Separator" : "", | |
"CountSeparator": "" | |
}, | |
"Extension": { | |
"Method": "Simple", | |
"Groups" : {}, | |
"Extendable": { | |
"PatLength()" : {"max" : 7}, | |
"PatGroups()" : {"max" : 3}, | |
"MatchesProp(success)" : {"min" : 1}, | |
}, | |
"Outputtable" : { | |
"PatLength()" : {"min" : 2}, | |
"Matches(failure)" : {"max" : 0}, | |
"NoEndingGroup()" : {} | |
} | |
}, | |
"Output": { | |
"SortBy": ["Matches(success)", "-Matches(failure)", "PatLength()"], | |
"Count": 10 | |
}, | |
"Printer" : { | |
"Method" : "Formatted", | |
"ShowHeader": true, | |
"Reverse": true, | |
"Header": "", | |
"Format": "Pat?()\t\tMatches(success)\tMatches(failure)\n" | |
} | |
} |