The regexp could be extracted to constant and put on the same place as ATTRIBUTE_LINE, to have them all on one place