bap
bap copied to clipboard
/abnf Extract - bogons
I couldn't leave this alone. More FYI: I noticed that running the extraction on RFC 3986 not only collects duplicates, but also collects a few lines that are not even intended to be ABNF:
result = ""
$1 = http:
$2 = http
$3 = //www.ics.uci.edu
$4 = www.ics.uci.edu
$5 = /pub/ietf/uri/
$6 =
And there's this microtool for your amusement: https://github.com/becarpenter/misc/blob/main/dedup.py
I am transferring this to the bap. This probably needs to be addressed on bap
aex
or the replacement tool.
But https://github.com/becarpenter/misc/blob/main/dedup.py
could be something author tools can adapt. But I'm not sure about the future of bap
.