A registry of regular expressions
- The expression string
- taxonomy/category
- supported engines
- a set of test inputs
- expected to match or not
- expected groups
- notes
- especially security considerations and important edge cases
- spec if it complies to an RFC/ISO/ETC standard
- some sort of precision enum? strict/loose
- browse
- search
- link to existing tools for interactive dev/test
- community
- up/down voting?
- OR maybe just use pull requests and +1s to improve/replace an expression
- comments
- Data store
- flat files in a git repo
- postgresql
- Maybe static site generator
- maybe PaaS like heroku
- Does this already exist?
- Consider spectrum of crowdsource vs curated
- I think I'm leaning toward the more curated end of the spectrum
- A lot of the value for me is in the reliability and consistency of the quality
- Could come from either good crowdsource rating or curation but I'm leaning toward trusted curators at the moment
- Write down specifics about regexlib.com that seem meh
- visual design is quite clunky and dated
- actual expression pattern text not front and center, copy to clipboard
- scrolling divs :-(
- many patterns missing title
- search is not good
- "vin" matches "having" in description
- does not inspire confidence in me about quality
- https://projects.lukehaas.me/regexhub/
- https://www.regexlib.com/
- http://www.regexr.com/
- https://regex101.com/
- http://www.regexplained.co.uk/
- CI uses docker containers to run each expression test suite against the appropriate engines (JS, PHP, C, Perl, etc)