When I try to have in a json file this:
"pattern": "^carbon\..*",
I'm getting the error Illegal escape sequence. How should I write the json, please?
Thank you. Gabriel
The problem is \. is not a recognised escape sequence. If you want a \ in your string you will need to enter \\.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With