daniel-frak / dummy4j

An extensible dummy/fake data generator library for Java
https://daniel-frak.github.io/dummy4j/
Apache License 2.0
11 stars 2 forks source link

Use Unicode properties when creating the pattern for whitespaces #32

Closed little-pinecone closed 3 years ago

little-pinecone commented 3 years ago

By default, \s only matches some ASCII whitespace characters. Make the predefined character class use Unicode properties to cover more cases.