Malformed REGEX marker-group prefix throws uncaught, blocking sign processing broadly
src/main/java/com/tpwalke2/bluemapsignmarkers/core/signs/SignLinesParser.java:80-90
line.matches(markerGroup.prefix()) / line.replaceAll(markerGroup.prefix(), "") use the raw config string as a
regex with zero validation anywhere in the chain — ConfigProvider never test-compiles it. A single typo'd regex
throws PatternSyntaxException the first time matching reaches that group, and because groups are tried in
configured order until one matches, a bad regex placed early can throw for essentially every sign the server
processes, not just ones meant for that group. Propagates uncaught out of SignBlockEntityInject's @Inject
callback and BlueMapSignMarkersMod.onBlockEntityLoad.
Malformed
REGEXmarker-group prefix throws uncaught, blocking sign processing broadlysrc/main/java/com/tpwalke2/bluemapsignmarkers/core/signs/SignLinesParser.java:80-90line.matches(markerGroup.prefix())/line.replaceAll(markerGroup.prefix(), "")use the raw config string as aregex with zero validation anywhere in the chain —
ConfigProvidernever test-compiles it. A single typo'd regexthrows
PatternSyntaxExceptionthe first time matching reaches that group, and because groups are tried inconfigured order until one matches, a bad regex placed early can throw for essentially every sign the server
processes, not just ones meant for that group. Propagates uncaught out of
SignBlockEntityInject's@Injectcallback and
BlueMapSignMarkersMod.onBlockEntityLoad.