Remove non-integer condition from regex because of relevance
Refactor monomial parsing