سؤال

I'm new to python and I'm working with code the requires me to make use of regular expressions substantially.

I've gone through the python documentation for regular expressions (http://docs.python.org/2/library/re.html)

However, since I'm new to python I find it hard to actually implement the functions that are specified within the documentation with the data I need to work with.

I was wondering if there's a forum out there that explains regular expressions in python with multiple examples for each function and all its possible variations. The more the merrier.

I've found this (http://docs.python.org/2/howto/regex.html) and this (http://flockhart.virtualave.net/RBIF0100/regexp.html) so far. I've found them useful but I was wondering if there is something out there that's better.

هل كانت مفيدة؟

المحلول 2

You can try this pythonregex , its python specific and generates python code for your regular expressions.

enjoy!

نصائح أخرى

You can use RegexOne for excellent tutorials on regular expressions in general.

You can use Debuggex (which is built by me) if you want to visualize and understand what a specific regex is doing.

If you want something python-specific, you can try Google's python regex tutorial.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top