Can't wrap my mind around this PatternSyntaxException

\s*{ seems to be the cause. Apparently the engine thinks the { would be part of the repetition op \s*. Escaping the { sorted that out “Java requires literal opening braces to be escaped” says http://www.regular-expressions.info … But oh boy to dig that esoteric info took a while x_x