string_pattern

String generator

A gem that generates strings according to predefined patterns or regular expressions for testing and data generation purposes

Generate strings supplying a simple pattern. Perfect to be used in test data factories. Validate if a text fulfills a specific pattern. Also you can use regular expressions (Regexp) to generate strings: /[a-z0-9]{2,5}\w+/.gen. Generate words in English or Spanish.

GitHub

16 stars
2 watching
1 forks
Language: Ruby
last commit: over 3 years ago
Linked from 1 awesome list

dataerror-detectionfactoriesgenerationpatternrandomregex-patternregexpregular-expressionsrubyruby-gemstringtest

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
tom-lord/regexp-examplesA gem that generates random strings that match given regular expressions.520
mochizukikotaro/regex_sampleA Ruby gem that generates random strings based on regular expressions1
zach-klippenstein/goregenA library for generating random strings from regular expressions.90
patterns-ai-core/langchainrbA Ruby library providing an interface to Large Language Model (LLM) providers for text generation and embedding1,487
reddavis/n-gramGenerates sequences of characters from a given text, useful for data analysis and modeling37
fent/randexp.jsGenerates random strings based on user-provided regular expressions1,836
pokepay/cl-string-generatorGenerates strings from regular expressions using Common Lisp23
malelabts/regexgeneratorA tool for generating regular expressions for text extraction and classification based on examples and without external hints.947
genericsteele/token_phraseA Ruby gem that generates unique phrases by combining words from predefined dictionaries with user-specified separators and settings.100
imikimi/literate_randomizerA Ruby gem that generates near-English prose using Markov chains.110
polarspetroll/ciprandA random string generator API that generates multiple strings of varying lengths based on user-provided parameters.11
caioceccon/random_string_generatorA module to generate random strings based on user-defined patterns and options.1
jasonlong/geo_patternGenerates geometric background images from strings using a combination of color manipulation and pattern generation.1,256
ahoward/tagzA Ruby library that provides an unobtrusive and safe syntax for generating HTML and XML.31
zolrath/marky_markovGenerates text based on patterns found in input data228