leggett / simplify-trackers Goto Github PK
View Code? Open in Web Editor NEWList of email spy pixels blocked by Simplify Gmail
License: BSD 3-Clause "New" or "Revised" License
List of email spy pixels blocked by Simplify Gmail
License: BSD 3-Clause "New" or "Revised" License
First, huge thanks for sharing the tracker list! It would be useful if you could publish the js script as a package on npm for the ease of keeping the list updated as a consumer.
I'm getting regex compile warnings on regexes like
mail.[a-zA-Z0-9-.]+.pl\\/o\\/
email.[a-zA-Z0-9-.]+\\/o\\/[a-zA-Z0-9-_.]{64}
Ruby issues a warning when it compiles these:
warning: character class has '-' without escape:...
If I change the original regexes to
mail.[a-zA-Z0-9\\-.]+.pl\\/o\\/
email.[a-zA-Z0-9\\-.]+\\/o\\/[a-zA-Z0-9\\-_.]{64}
to escape the 'naked' dash, the regexes compile just fine. I'm pretty sure this is an artifact of JS that makes this legal but I just don't know for sure...
My question is: Are the second versions legal JS regexes?
My followup question is: Does this change alter the meanings of the original regexes?
My 2nd followup question would be: Which of the two versions are 'more correct™' ?
I'm not trying to start a JS vs Ruby flamewar here...just trying to make the awk script as robust as I can. I'm not a JS guy... So many languages...so little time...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.