bhai-lang icon indicating copy to clipboard operation
bhai-lang copied to clipboard

Add support for escape sequence in string literals

Open pPanda-beta opened this issue 2 years ago • 1 comments

Description

Add support for escape sequence

hi bhai
  bol bhai "mujhe chor do \"mere\" quotes pe";
bye bhai

and unicode character support

hi bhai
  bol bhai "Made with \u{1F48C} by bhailang community";
bye bhai

Domain

Bhai Lang

Type of Contribution

Enhancement

Code of Conduct

pPanda-beta avatar Mar 15 '22 10:03 pPanda-beta

The output for the first code can be achieved by the following:

hi bhai 
  bol bhai 'mujhe chor do "mere" quotes pe'; 
bye bhai

nikhiljainlive avatar Mar 15 '22 12:03 nikhiljainlive