Const
Provides regex pattern suggestions based on keywords found in the input text.
The user-provided text to analyze for suggestions.
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):
// 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
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.