Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
(?<dice>\d*)(?<dsides>(?<separator>[\d\D])(?<sides>\d+))(?<modifier>(?<sign>[\+\-])(?<addend>\d))?
|
Description |
D&D dice:
If no dice are entered, 1 can be assumed.
d or D is required to indicate sides, and cannot exist without a sides digit.
The modifier is optional. However, if there is a modifier, a sign and an addend must be included.
|
Matches |
2d6+4 | 2d6 | d6+4
|
Non-Matches |
6- | d | 2d
|
Author |
Rating:
Not yet rated.
Janine White
|
Displaying page
of
pages;
Items to