File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
main/java/ru/mystamps/web/feature/series/importing
test/groovy/ru/mystamps/web/feature/series/importing Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public class SeriesInfoExtractorServiceImpl implements SeriesInfoExtractorServic
56
56
57
57
// Regular expression matches number of the stamps in a series (from 1 to 99).
58
58
private static final Pattern NUMBER_OF_STAMPS_REGEXP = Pattern .compile (
59
- "(?<quantity>[1-9][0-9]?)( (беззубцовые|зубцовых))? (мар(ок|ки)|блоков )" ,
59
+ "(?<quantity>[1-9][0-9]?)( (беззубцовые|зубцовых))? (мар(ок|ки)|блок(а|ов) )" ,
60
60
Pattern .CASE_INSENSITIVE | Pattern .UNICODE_CASE
61
61
);
62
62
Original file line number Diff line number Diff line change @@ -394,6 +394,7 @@ class SeriesInfoExtractorServiceImplTest extends Specification {
394
394
' 13 беззубцовые марок' || 13
395
395
' 4 беззубцовые марки' || 4
396
396
' 32 БЕЗЗУБЦОВЫЕ МАРКИ' || 32
397
+ ' 4 блока' || 4
397
398
' 6 блоков' || 6
398
399
' 6 зубцовых блоков' || 6
399
400
}
You can’t perform that action at this time.
0 commit comments