We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e87e06 commit 7670b47Copy full SHA for 7670b47
core/src/main/kotlin/io/github/serpro69/kfaker/FakerService.kt
@@ -36,7 +36,8 @@ import kotlin.reflect.full.declaredMemberProperties
36
* @constructor creates an instance of this [FakerService] with the default 'en' locale if is not specified.
37
*/
38
internal class FakerService {
39
- private val curlyBraceRegex = Regex("""#\{(?!\d)(\p{L}+\.)?(.*?)}""")
+ @Suppress("RegExpRedundantEscape")
40
+ private val curlyBraceRegex = Regex("""#\{(?!\d)(\p{L}+\.)?(.*?)\}""")
41
private val locale: String
42
internal val faker: Faker
43
internal val randomService: RandomService
0 commit comments