Open Leftium opened 8 years ago
Since I tried and couldn't contact the original author for weeks, I decided to migrate the project to leolee192/sequencer. Please visit leolee192/sequencer#9 for further activity, or to subscribe to receive notifications.
Steps to Reproduce:
echo "get http://example.com" > input.txt
go run sequence.go analyze --input input.txt --output patterns.txt
go run sequence.go parse --input input.txt --patterns patterns.txt
Expected Results:
Message is parsed and there is no error.
Actual Results:
Comments:
There is no error and the results are correct if the URI is removed. I think the URI fails to match because the scanner says it is type
uri
but the patterns file is looking for%object%
.I was unable to confirm this because
%uri%
is not accepted in a patterns file (Invalid tag token "%uri%": unknown type
). And I have not figured out how to prevent the URI from being tagged as an object.Also note this bug causes the
analyze
command to report the incorrect number of new patterns.