spring-shell icon indicating copy to clipboard operation
spring-shell copied to clipboard

How to input English sentence natually ?

Open Eternal-night-blip opened this issue 2 years ago • 1 comments
trafficstars

What I want is "etyma demo",doesn't work but below all fail

截图 2023-08-16 16-58-34 截图 2023-08-16 17-00-02

截图 2023-08-16 17-03-55 截图 2023-08-16 17-05-52 Instead of using English quote and double quote, using Chinese quote and double quote works 截图 2023-08-16 17-08-16

but it fails when multi sentence exist. 截图 2023-08-16 17-12-46

Change String.class to String[].class, Chinese quote works,but English one fails 截图 2023-08-16 17-33-02

截图 2023-08-16 17-32-06

How can user directly input English sentences include English quotes and output it inlude English quotes ?

Eternal-night-blip avatar Aug 16 '23 09:08 Eternal-night-blip

This is currently default behaviour how parsing happens. Double quotes within double quotes needs to be escaped with backslash.

jvalkeal avatar Sep 30 '23 07:09 jvalkeal