Menu

#297 \n in string value

None
closed
nobody
Parsing (77)
5
2018-08-02
2007-07-15
shay tes
No

ClassManagerImpl classManager = new ClassManagerImpl();
NameSpace global = new NameSpace(classManager, "FlowLevel embedded BeanShell interpreter");
Interpreter bshIntepreter = new Interpreter(null,System.out,System.err,false,global);

String str = "String _result = \"aaaa\nbbbb\";";

bshIntepreter.eval(a);

Cant evaluate string when there is an \n or \r character

my application get input from the user

Discussion

  • nickl-

    nickl- - 2018-08-02
    • status: open --> closed
    • Group: -->
     
  • nickl-

    nickl- - 2018-08-02

    Ticket has been migrated to github.
    Please follow up on this over here: https://github.com/beanshell/beanshell/issues/435

     

Log in to post a comment.