RGex Builder Platform - v1.2.0
    Preparing search index...

    Function calculatePatternComplexity

    • Calculates a complexity score for a regex pattern. More complex features like lookarounds and groups increase the score.

      Parameters

      • pattern: string

        The regex pattern string to analyze.

      Returns number

      A numeric complexity score.