use relocated regexp patterns from shard part.