Closed johanjk closed 1 year ago
Escaping syntax as described in the docs should be supported.
'
''
{ "helloWorld": "Hello! '{Isn''t}' this a wonderful day?" }
Gives: Error: Unbalanced right delimiter found in string
Error: Unbalanced right delimiter found in string
Or:
{ "helloWorld": "Hello!' {Isn''t}' this a wonderful day?" }
Gives "{Isn''t}" is not a valid placeholder name.
"{Isn''t}" is not a valid placeholder name.
Thanks for filing this! The ICU MessageFormat syntax also specifies the escaping behavior.
Expected Behavior
Escaping syntax as described in the docs should be supported.
'
should not give error.'
character, represented as''
within a verbatim context should be allowed.Steps to Reproduce the Problem
Gives:
Error: Unbalanced right delimiter found in string
Or:
Gives
"{Isn''t}" is not a valid placeholder name.