Legal text analysis of the modification provisions: a pattern oriented approach