DAT Parser constant assignment ReGex little mistake
Green-Sky opened this issue · comments
Erik Scholz commented
Hey, I think you made a little mistake regarding the Constant Assignment ReGex matching string /^(@?)(\w+)\s*=\s*((?:\d+|\+|\w+)+)$/
, because it accepts leading @
. I don't think that's correct, but it's not critical, because it should never occur.
Better version:
/^(\w+)\s*=\s*((?:\d+|\+|\w+)+)$/
Erik Scholz commented
Ok Sorry, it is correct. I must have overlooked the 4 occurrences.
I'm closing this.