ulif / diceware

Passphrases to remember
GNU General Public License v3.0
357 stars 45 forks source link

Allow non-whitespace to separate numbers in realdice input #74

Closed ulif closed 4 years ago

ulif commented 4 years ago

Current input of dice rolls with the realdice randomness-source expects whitespace characters to separate numbers. With reguiar expressions we could allow also colons, dots, or other (non-digit) chars.

For instance, instead of 1 2 3<CR>2 3 1<CR> we could accept 1, 2, 3<CR>2-3-1<CR> and similar input.

This change was brought up by @alanhoyle in #58 based on recent changes from @adinklotz .

alanhoyle commented 4 years ago

I've started following the developer install instructions and will hopefully submit a pull request soon.