Merge pull request #13071 from kuldeepaggarwal/documentation-updation

[ci skip]removed obsolete information about `options` parameter in create method
unnecessary checking of `size` with `second regex` if matched with first one