Closed swfarnsworth closed 3 years ago
I've been using regex101 for years, and I don't think it's ever come up short for what I needed. I hadn't used pythex before, so I checked it out in order to compare.
Benefits of regex101 over pythex:
'
and "
, and it will accept it without mentioning escape characters. In regex101 you have to explicitly choose a string delimiter (which can be """
or '''
as well), and it will warn about unescaped delimiters in the pattern.Benefits of pythex over regex101:
I strongly prefer regex101, both for experienced users testing patterns and for beginners learning regex. I think it would be a great resource to include on the site.
@camcaswell thanks for your thorough review!
Here's a question I should have raised before: what topic does regex fall under? I'm thinking of putting it under both "other" (because they're useful in general but aren't a core programming skill) and "data science" (because I know I use them for data science). Do you think it belongs under any others?
Maybe UI/UX and Webdev Front-end, since regex is commonly used for user input?
Unrelated to regex101, but what I used to learn was regexone.com - I feel like it is much more approachable as a beginner to get started with regex (it is an interactive course). I think it is worth considering to add as a resource as well.
I'm going to go ahead and close this as regex101 is now included in a development branch for this project.
@anand2312 feel free to open a new issue for regexone.
Resource location\ https://regex101.com/
Payment type\ Free, but solicits donations
Why it should be included\ We don't currently have any regex resources, and it looks like this one combines both regular expression testing (as a tool) and interactive regex tutorials. I've always used pythex, which is just an expression tester with a syntax cheat sheet, but this seems to have more features and is the one I've seen more staff members using.
Potential limitations\ It supports multiple languages and lists Python as "Python 2.7", which might be confusing.
So, is this better than pythex? Discuss.