nowfound

Alternatives

Products that do what Prime Number Regex does

I was messing around representing integers using binary trees, and noticed that a certain tree format makes it trivial to grep for prime numbers. Probably not very novel, but thought y'all might enjoy it. Here's one through sixteen: * (()()) * ((()())()) * (((()())())()) (((()())())(()())) * ((((()())())())()) ((((()())())())(()())) * ((((()())())(()()))()) ((((()())())(()()))(()())) ((((()())())(()()))((()())())) ((((()())())(()()))(((()())())())) * (((((()())())())())()) (((((()())())())())(()())) * (((((()())())())(()()))()) (((((()())())())(()()))(()()))…

  1. 1IW

    My book titled "Python re(gex)?" is free to download through this weekend [1][2] The book covers both 're' and 'regex' modules, has plenty of examples and chapters also have cheatsheets and exercises. Code snippets, exercises, sample chapters, etc are available on GitHub repo [3] I used pandoc+xelatex [4] to generate the pdf. [1] https://gumroad.com/l/py_regex [2] https://leanpub.com/py_regex [3] https://github.com/learnbyexample/py_regular_expressions [4]…

    2019

  2. 2IW

    My book on "GNU grep and ripgrep" is free to download today and tomorrow [1][2] Code snippets, example files and sample chapters are available on GitHub [3] The book uses plenty of examples and regular expressions are also covered from scratch. The book is suitable for beginners as well as serves as a reference. Hope you find it useful, I would be grateful for your feedback and suggestions. I used pandoc+xelatex [4] to generate the pdf. [1] https://gumroad.com/l/gnugrep_ripgrep [2] https://leanpub.com/gnugrep_ripgrep [3]…

    2019

  3. 3GG
  4. 4

    A podcast about regular expressions

    2020

  5. 5

    A curated list of most commonly used regular expressions

    2022

  6. 6

    Learn RegEx step by step, from zero to advanced

    2021

  7. 7IC

    Are you a regular expression nerd? Challenge your friend to a Regex.

    2025 · regex.jordandalton.com

  8. 8AN

    2018 · github.com

  9. 9
    RegexBot165

    Easily convert natural language to RegEx using AI

    2024

  10. 10NI

    2019 · nevod.nezaboodka.com

  11. 11JR

    Hello. I updated my ebook on JavaScript regular expressions [1] today - updates include corrections, additional content, exercises, solutions, etc All my ebooks [2] are currently free to help with quarantine reading. These include GNU grep & ripgrep, GNU sed, GNU awk and three books on regular expressions - Python, Ruby, JavaScript I'd appreciate your feedback and hope the books are useful. Happy learning :) [1] https://github.com/learnbyexample/learn_js_regexp [2] https://learnbyexample.github.io/books/

    2020

  12. 12RC

    2020 · regexpcrashcourse.com

  13. 13PP

    I decided to turn prime numbers into a mini piano and see what kind of music they could make. Inspired by: https://news.ycombinator.com/item?id=44888548 Github: https://github.com/neberej/prime-piano

    2025 · nabraj.com

  14. 14AP
  15. 15RW
  16. 16IP

    2017 · strandmark.net

  17. 17IW

    My example based guide on JavaScript regular expressions is free to download through this weekend [1][2] Code snippets, exercises, sample chapters, etc are available on GitHub repo [3] You can also get the book as part of free bundle [4] [1] https://gumroad.com/l/js_regexp [2] https://leanpub.com/js_regexp [3] https://github.com/learnbyexample/learn_js_regexp [4] https://leanpub.com/b/regex

    2019

  18. 18LI

    Hi HN! I kept hearing about Lisp and why it was special but didn't have a great place to start. I wanted something self-contained that helped me develop intuition rather than fluency. My hope is this is helpful for casual programmers, professionals from other fields who interact with code, or engineers who haven't had much exposure to interpreters or compilers. Hope this helps anyone else who's curious about getting a sense of Lisp and what makes it special with a limited time investment! Feedback or other cool Lisp things welcome :)

    2022 · github.com

  19. 19FP

    I built a Proth prime tester on a Zybo Z7-20 FPGA ($200 board) and found a new 1,123-digit prime: 2079 * 2^3718 + 1. Proth primes are numbers of the form k * 2^n + 1. They have a neat property: Proth's theorem gives you a deterministic proof of primality, not just a probabilistic test. If you can find an integer a where a^((p-1)/2) = -1 mod p, the number is proven prime. No "probably" about it. The interesting part is the hardware. The core is a 4096-bit Montgomery CIOS multiplier running on a Zynq-7020. It uses 28 DSP48E1 slices and runs at 74 MHz, doing one full modular multiply in…

    Feb 2026 · github.com

  20. 20RR

    You can enter strings to match/not match and the generator will spit out an according regex. It's not 100% accurate, but I feel like this could still be useful in at least getting a starting point when initially trying to make a regex?

    2023 · regexgo.com

  21. 21XA
  22. 22IR

    I rewrote the most common core string.h functions in pure C. I mostly did it to learn pointers and string. Would love to get any feedbacks:)

    2025 · github.com

  23. 23HI
  24. 24YC

Ranked by how close each launch is in meaning, then by votes. Refine with a description →