clemenshelm / chillbill-recognizer

0 stars 0 forks source link

Save regex which picked up a term as part of that term's attributes #346

Closed tamacodechi closed 7 years ago

tamacodechi commented 7 years ago

So we can easily see which regex picked up terms that are false positives (eg. a phone number picked up as a price), it would be great to store the regex that picked up that term as an attribute. Nothing else needs to be done with this attribute and the regex is passed on when we run .filter methods too 🙌 Fun fun 👏👏👏