RegExr
py_regular_expressions
RegExr | py_regular_expressions | |
---|---|---|
579 | 43 | |
9,548 | 1,720 | |
- | - | |
0.0 | 2.8 | |
about 1 month ago | 9 months ago | |
JavaScript | Python | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RegExr
-
Hot Springs
When thinking about how I might compare an arrangement to the contiguous group of damaged springs, I used regexr.com to experiment with very specific regexs that used the numbers.
-
Demystifying Regular Expressions (Regex): A Chat Sheet Guide
There are plenty of online regex tools to test and experiment with regex patterns. Some popular ones include RegExr, RegEx101, and RegexPlanet.
-
Camel Cards
Using regexr.com it at least appears to work as expected.
-
[2023 Day 2] [Python] Stuck on the first task
If you are going to use RE's, use something like https://regexr.com/ to double check that they're doing what you want. I was suspicious of your 'cols = re.findall(r'\d+ .....', i)' line, and indeed it does miss some columns. You should rethink your column detection, and either not use REs or learn how to use capture groups and \w. There would then be no reason to use yet another RE in your column iterator to extract the numbers which you've already detected.
-
2023 Day 2 Part A [Java] regex pattern not matching
First time posting here, let me know if I need to edit post to conform to any rules. My issue is that I'm trying to match regex pattern to separate out the number of cubes drawn and its color but my Matcher object seems to not be returning any matches so it's throwing a no match found exception when I try to call digitMatcher.group(). I have tested my regex pattern on sites like regexr and it seems to pass there but it's not working for some reason here. I use the same type of regex on day one and it work there so I'm not sure where my regex pattern is failing here. I'm talking about specifically in my isGameValid() method where I create a matcher base on a pattern I made above. Through debugging I know that I separated the string color pairing correctly and that my Matcher object has the correct regex pattern, it's just not matching for some reason. Any help would be appreciated. Code below:
-
Trebuchet?!
Regexr has been an invaluable tool as a beginner.
-
10 Lesser-Known Tools and Websites to Spice Up Your Developer Toolbox
RegExr simplifies working with regular expressions. This online tool provides a visual interface for building and testing regex patterns in real-time, making regex less intimidating.
- What regex flavour does vscode use in language-configuration.json
-
Regex not working
Ho did you arrive at the regex? I usually use a website to , such as https://regex101.com/, https://regexr.com/, https://regex-generator.olafneumann.org/ in combination of each other, as some explain better than the other.
-
Capture the first instance, but don't stop?
I pulled this into regexr.com and it yielded the same results except it removed :41:
py_regular_expressions
- Understanding Python re(gex)?
-
TUI app with 100+ interactive Python Regex exercises
These exercises have been adapted from my Understanding Python re(gex)? ebook (free to read online).
-
Show HN: Interactive Exercises for Python Regular Expressions
This new version is a TUI app built with Textual. Previous one was written using `tkinter` [0] and covered only four of the `re` functions.
Now, any valid Python expression is accepted as a solution. Both the builtin `re` and third-party `regex` modules are covered.
These exercises have been adapted from my Understanding Python re(gex)? ebook [1] (free to read online, and PDF/EPUB versions are free till the end of this month).
I'd appreciate your feedback, happy learning :)
[0] https://news.ycombinator.com/item?id=29391107
[1] https://github.com/learnbyexample/py_regular_expressions
- Understanding Python re(gex)? with hundreds of examples and exercises (eBook)
-
Understanding Python re(gex)? with hundreds of examples and exercises (free till Feb 5)
Visit https://github.com/learnbyexample/py_regular_expressions for markdown source, example files, exercise solutions, sample chapters and other details related to the book.
-
Show HN: Interactive exercises for Linux CLI text processing commands
Last year, I did a similar project for 75 Python regular expressions exercises: https://github.com/learnbyexample/py_regular_expressions/tre...
That was with Tkinter. I'm planning to update the regex book next year (to add new features like possessive quantifiers and other misc changes). Along with this update, I'll probably make a TUI version and add support for rest of the exercises.
-
Show HN: The Typing of the RegEX
If you are interested in Python regex, here's my tkinter app with 75 interactive exercises: https://github.com/learnbyexample/py_regular_expressions/tre...
This assumes you already know Python regex. If you'd like learn first, see my free ebook: https://learnbyexample.github.io/py_regular_expressions/
-
Best site to learn regex?
I have an entire book dedicated for learning regex from the basics, with hundreds of examples and exercises. I cover both re and third-party regex module. It is free to read online: https://learnbyexample.github.io/py_regular_expressions/
-
What's the coolest thing you've built so far?
A tkinter GUI that helps you to practice your understanding of regular expressions with 75 exercises: https://github.com/learnbyexample/py_regular_expressions/tree/master/interactive_exercises
-
Py Regex
https://github.com/learnbyexample/py_regular_expressions/blob/master/py_regex.md.
What are some alternatives?
RegEx101 - This repository is currently only used for issue tracking for www.regex101.com
bms-tools
RegExpBuilder
regex-generator - Generate regular expressions from sample texts.
Visual Studio Code - Visual Studio Code
mpack - MPack - A C encoder/decoder for the MessagePack serialization format / msgpack.org[C]
CyberChef - The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis
PropertyWebBuilder - Create a fully featured real estate website on Rails in minutes! ⛺
self-hosted - Sentry, feature-complete and packaged up for low-volume deployments and proofs-of-concept
resholve - a shell resolver? :) (find and resolve shell script dependencies)
Regexly - WYSIWYG Regex playground for those who JavaScript
ntfy-android - Android app for ntfy.sh