I tried using slashy strings in the groovyConsole
println /hello/
and was rewarded with the error:
Exception thrown: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script9: 1: unexpected token: null @ line 1, column 16.
I also tried it in groovysh and just was told "statement not complete"
it works if I do this:
println(/hello/)
This problem remains in Groovy r7025 (1.1-beta-3, 2007-07-26). Also:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, script_from_command_line: 1: unexpected token: null @ line 1, column 16.
1 error
I believe all of these are probably presentations of the same error.