Skip to content

Commit c54b7a4

Browse files
author
Tom Lord
committed
Made it prettier
1 parent f6ee6c9 commit c54b7a4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,17 @@ Using any of the following will raise a RegexpExamples::IllegalSyntax exception:
7070
When generating examples, the gem uses 2 configurable values to limit how many examples are listed:
7171

7272
* `max_repeater_variance` (default = `2`) restricts how many examples to return for each repeater. For example:
73-
* .\* is equivalent to .{0,2}
74-
* .+ is equivalent to .{1,3}
75-
* .{2,} is equivalent to .{2,4}
76-
* .{,3} is equivalent to .{0,2}
77-
* .{3,8} is equivalent to .{3,5}
73+
* `.*` is equivalent to `.{0,2}`
74+
* `.+` is equivalent to `.{1,3}`
75+
* `.{2,}` is equivalent to `.{2,4}`
76+
* `.{,3}` is equivalent to `.{0,2}`
77+
* `.{3,8}` is equivalent to `.{3,5}`
7878

7979
* `max_group_results` (default = `5`) restricts how many characters to return for each "set". For example:
80-
* \d = ["0", "1", "2", "3", "4"]
81-
* \w = ["a", "b", "c", "d", "e"]
82-
* [h-s] = ["h", "i", "j", "k", "l"]
83-
* (1|2|3|4|5|6|7|8) = ["1", "2", "3", "4", "5"]
80+
* `\d` is equivalent to `[01234]`
81+
* `\w` is equivalent to `[abcde]`
82+
* `[h-s]` is equivalent to `[hijkl]`
83+
* `(1|2|3|4|5|6|7|8)` is equivalent to `[12345]`
8484

8585
To use an alternative value, simply pass the configuration option as follows:
8686

0 commit comments

Comments
 (0)