Editor automatically fixing end of line characters.
Fixing trex_match check and adding _DEBUG printing.
Added extra test cases for trex_match to catch false negative/positives.
Merge pull request #2 from e4r7hbug/issue1

Fix trex_match Logic Fixes #1