/cl-string-random

port of string_random.js

Primary LanguageCommon LispApache License 2.0Apache-2.0

Cl-String-Random

Utility to generate string which matches specific regexp.

string_random in Common Lisp

Usage

(string-random "\\d{3}-\\d{4}") ;; => "123-4567"

Installation

(ql-dist:install-dist "http://dist.ultralisp.org/"
                      :prompt nil)
(ql:quickload :cl-string-random)
(use-package :cl-string-random)