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

    Variable suggestConst

    suggest: (text: string) => string[] = getPatternSuggestions

    Smart pattern suggestion generator with minimal syntax. This compact alias for getPatternSuggestions provides intelligent pattern recommendations and guidance using the same sophisticated analysis capabilities in a streamlined interface perfect for user assistance and pattern discovery.

    Type declaration

      • (text: string): string[]
      • Provides regex pattern suggestions based on keywords found in the input text.

        Parameters

        • text: string

          The user-provided text to analyze for suggestions.

        Returns string[]

        An array of string suggestions, limited to the top 5 most relevant.

    Input text requiring pattern suggestions or clarification. Can include partial words, typos, unclear descriptions, or exploratory queries that need intelligent interpretation and helpful recommendations.

    Curated array of relevant suggestion strings (top 5 most helpful):

    • Smart corrections for common typos and partial matches
    • Available pattern categories with descriptive keywords
    • Example usage patterns and best practices
    • General guidance for effective pattern description
    // Quick suggestion lookup
    const help = suggest("phon");
    // Returns phone pattern suggestions and keywords

    // Typo assistance
    const fixes = suggest("emial addres");
    // Suggests "email address" with proper keywords

    // Pattern discovery
    const options = suggest("date");
    // Returns various date format options and examples