qntm/greenery
View on GitHub ↗ ★ 402 Python
Regular expression manipulation library
4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2021-07-08 · latest 2024-08-08
20082026
-
…great Python module call greenery, that produces Finite State Machines from any Regular Expression: https://github.com/qntm/greenery So, you can observe what kind of state machine is produced from any given Regular Expression. You can also…
comment by pjkundert · 2024-08-08 · in Ask HN: How did you learn Regex? -
…is also accompanied by high-quality technical writing on related topics [2] [3] [4] [5]. [1] https://github.com/qntm/greenery [2] https://qntm.org/greenery [3] https://qntm.org/lego [4] https://qntm.org/plants [5] https://qntm.org/fsm
comment by ZephyrP · 2021-10-06 · in QNTM on memes, anti-memes, and knowledge that doesn't want to be shared -
Greenery (python3) let’s you manipulate regular expressions and do things like compute intersections: https://github.com/qntm/greenery
comment by amenghra · 2021-07-08 · in The Greatest Regex Trick Ever (2014)