N3X15/MinecartMania — pull request #3 by leagris (2012-01-30 22:30:46+00:00)
Title: CompassDirection from Launch substring can not be fond at fixed offset 7 ...

...or it will prepend/include the space once the sign line becomes brackets enclosed.

writing "launch west"
will be hightlighted as "[launch west]" the substring at 7 will become " WEST" then cause a No enum const class error when trying to match the enum.
Hacked a relative index with lastIndexOf("launch") + 7 so it will account for the bracket shift.
This rings bells about the handcoded parsing of signs syntax.
I wonder if javacc would'nt help here in writing and maintaining a good parser/