hwut --happy text.txt my-test-file.py
shall take the 'HAPPY' expressions from 'my-test-file.py''s --hwut-info response and apply it to content from 'text.txt'. This helps to see whether the regular expression really triggered.
EXAMPLE "my-test-file.py":
...
if "--hwut-info" in sys.argv:
...
print("HAPPY: \d.?\d;)
...
Then "text.txt"
something 0.815 else
when called with 'hwut --happy text.txt my-test-file.py' shall cause an output
something [[HAPPY]] else
Anonymous