Skip to content

Improve Text Length Calculation #18

@yayakm

Description

@yayakm

Description:
Enhance the method for calculating the maximum potential text length that could be generated from a regex pattern. The system should immediately throw an exception if the text exceeds 256 characters, a default limit which users can later adjust. The library should not attempt to calculate text size beyond this limit to optimize performance.

Acceptance Criteria:

  • Default maximum text size set at 256 characters.
  • Exception handling for text sizes exceeding the maximum limit.
  • Configurable setting allowing users to change the default size.
  • Integration tests to ensure that the size limit works as expected.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions