aryaminus / random-string-generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random String Generator

Run on Repl.it

Alpha release

Description

Write a string generator that takes a regular expression as argument and returns strings that match the given regular expression.

Getting Started

Dependencies

Installing

git clone https://github.com/aryaminus/random-string-generator
cd random-string-generator
yarn

Executing program

yarn start

TODO

  • . Match any character except newline
  • [ Start character class definition
  • ] End character class definition
  • ? 0 or 1 quantifier
  • * 0 or more quantifiers
  • + 1 or more quantifier
  • { Start min/max quantifier
  • } End min/max quantifier
  • ^ Negate the class, but only if the first character
  • - Indicates character range
  • | Start of alternative branch
  • ( Start subpattern
  • ) End subpattern
  • \1 back reference

Authors

Contributors names and contact info

ex. @aryaminus

Version History

  • 0.0.1
    • Initial Release

License

This project is licensed under the MIT License - see the LICENSE file for details

About

License:MIT License


Languages

Language:TypeScript 97.9%Language:Nix 2.1%