String prefix = matcher.group(2);
// TODO: remove after some time to stop converting existing MCA ICs
// convert existing MCA ICs to the new [MCXXXX]A syntax
if (prefix.equalsIgnoreCase("MCA")) {
sign.setLine(1, (StringUtils.replace(sign.getLine(1).toLowerCase(Locale.ENGLISH), "mca", "mc") + "a").toUpperCase(Locale.ENGLISH));
sign.update(false);
return setupIC(block, create);
}
if (sign.getLine(1).toLowerCase(Locale.ENGLISH).startsWith("[mc0")) {
if(sign.getLine(1).equalsIgnoreCase("[mc0420]"))