added abillity to configure punctuation pattern.