Abstract: Regular expressions are notoriously difficult to get right, with developers often having to resort to trial-and-error approaches. Even so, little attention ...
Regexp#examples generates a list of all* strings that will match the given regular expression. Regexp#random_example returns one, random string (from all possible strings!!) that matches the regex.