I have only single pattern to match per iteration. Matcher will not help in this situation