fix regex

This commit is contained in:
etreschenkov 2023-05-26 18:52:07 +03:00
parent 2245e1313c
commit 94c2373dc9

View file

@ -76,7 +76,7 @@ public class PrimaryAuctionBnSession extends AbstractSession implements Initiali
public void afterPropertiesSet() throws Exception {
dealsPrepare.searchForExecutions(ExecutionType.ExecutionFond);
ImdgPredicateBuilder execFondPb = executionFondImdg.predicateBuilder();
dealsPrepare.addExecutionFondCondition(execFondPb.regex("settlementCode", "^B[^0]\\d*$"));
dealsPrepare.addExecutionFondCondition(execFondPb.regex("settlementCode", "^B\\d{2}$"));
dealsPrepare.addExecutionFondCondition(execFondPb.in("market", marketCodes.toArray(new String[0])));
}