Improve generateUserFriendlySequencePattern