Checkstyle's TrailingComment module detects the following as an invalid trailing comment in line 001:
000 private native void doSomething()/*-{
001 .. javascript code here ..
002 }-*/
Which is of course right, but I want to configure legalComment to ignore them. This is a regular expression, and I expected "-\{
" would do the trick. It does not... did anyone have the same problem?