Open ludofischer opened 2 years ago
Fix #132
\b also matches '.', so the regex for the number expression would match 41 in 41.7rpx. Then UNKNOWN_DIMENSION would match .7rpx and create the invalid sequence NumberExpression, UnknownDimension.
\b
41
41.7rpx
UNKNOWN_DIMENSION
.7rpx
NumberExpression
UnknownDimension
Fix #132
\b
also matches '.', so the regex for the number expression would match41
in41.7rpx
. ThenUNKNOWN_DIMENSION
would match.7rpx
and create the invalid sequenceNumberExpression
,UnknownDimension
.