A tool and library to parse URLs. If you say that fast enough, it sounds like parcels.
This is mainly intended for use in mail filters.
cat EMAIL | parcels
This will...
EMAIL
with URLs replaced by indicescat EMAIL | parcels -n 0
This will...
EMAIL
and re-print just that URLThe URL regular expression is adapted from that used in urlscan, which is licensed under GPL v2. Credit for this portion of the code should go to:
I personally consider this project to be derivative, therefore I am keeping the GPL v2 license of the urlscan project.