replaced isBounded with boundedLength

GitHub issue #5 - PatternSyntaxException: Look-behind group does not have an obvious maximum length
added MaximumLegalBoundedLength checks

GitHub issue #5 - PatternSyntaxException: Look-behind group does not have an obvious maximum length