Skip to contents

Return a predefined character set ported of the 'nanoid-dictionary'. This function supports 2 patterns; "nolookalikes" or "nolookalikesSafe".

Usage

no_lookalikes(pattern = c("nolookalikes", "nolookalikessafe"))

Arguments

pattern

Choice one of `nolookalikes` or `nolookalikessafe`.

Value

Character vectors.

Examples

no_lookalikes("nolookalikes")
#>  [1] "3" "4" "6" "7" "8" "9" "A" "B" "C" "D" "E" "F" "G" "H" "J" "K" "L" "M" "N"
#> [20] "P" "Q" "R" "T" "U" "V" "W" "X" "Y" "a" "b" "c" "d" "e" "f" "g" "h" "i" "j"
#> [39] "k" "m" "n" "p" "q" "r" "t" "w" "x" "y" "z"
no_lookalikes("nolookalikessafe")
#>  [1] "6" "7" "8" "9" "B" "C" "D" "F" "G" "H" "J" "K" "L" "M" "N" "P" "Q" "R" "T"
#> [20] "W" "b" "c" "d" "f" "g" "h" "j" "k" "m" "n" "p" "q" "r" "t" "w" "z"