diff --git a/README.md b/README.md index 148e106..bbfae4e 100644 --- a/README.md +++ b/README.md @@ -338,8 +338,8 @@ rejected at `New`. `{a|b}` renders one of the sibling fields `a` or `b`, chosen at random; an arm may be a `{..path}` reference too (`{name|..en_US.person}`). -Inside a `format`, `0 1 A a` are **always** character classes — so a fixed digit -or letter must be escaped (`#1`, `#A`) or it becomes random. A format of +Inside a `format`, `0 1 A a` are **always** character classes — so a fixed `0`, +`1`, `A` or `a` must be escaped (`#1`, `#A`) or it becomes random. A format of `100 Main St` renders e.g. `506 Mdin St` — the `1`, `0`, `0` and `a` were random, the `M`, `in` and `St` were not. A half-fixed string is the trap: `555-0000` keeps `555-` and randomises the last four digits. For a value with no diff --git a/data_test.go b/data_test.go index 0099d98..15af682 100644 --- a/data_test.go +++ b/data_test.go @@ -128,7 +128,7 @@ func TestShippedMiscReferenceData(t *testing.T) { } // TestSwedishPersonNamesHaveNoTripleLetter pins an orthographic rule the shape -// regexes miss: Swedish never triples a consonant. +// regexes miss: no generated name repeats a character three times over. func TestSwedishPersonNamesHaveNoTripleLetter(t *testing.T) { f := newFakes(t, "data/sv_SE", WithSeed(11)) for _, path := range []string{"person", "person.last"} {