3 ms·
Very cool visualization. Trying to match an e-mail with this (from django.core.validators) but it isn't working: http://www.debuggex.com/?re=%28%5E%5B-%21%23%2
by northisup 14y ago
Very cool visualization.
Trying to match an e-mail with this (from django.core.validators) but it isn't working:
http://www.debuggex.com/?re=%28%5E%5B-%21%23%24%25%26%27%2A%2B%2F%3D%3F%5E_%60%7B%7D%7C~0-9A-Z%5D%2B%28%5C.%5B-%21%23%24%25%26%27%2A%2B%2F%3D%3F%5E_%60%7B%7D%7C~0-9A-Z%5D%2B%29%2A%29%40%28%28%3F%3A%5BA-Z0-9%5D%28%3F%3A%5BA-Z0-9-%5D%7B0%2C61%7D%5BA-Z0-9%5D%29%3F%5C.%29%2B%5BA-Z%5D%7B2%2C6%7D%5C.%3F%24%29&str= http://www.debuggex.com/?re=%28%5E%5B-%21%23%24%25%26%27%2A%...
- northisup 14y agonow with ip address matching: http://www.debuggex.com/?re=%28%5E%5B-%21%23%24%25%26%27%2A%2B%2F%3D%3F%5E_%60%7B%7D%7C~0-9A-Za-z%5D%2B%28%5C.%5B-%21%23%24%25%26%27%2A%2B%2F%3D%3F%5E_%60%7B%7D%7C~0-9A-Z%5D%2B%29%2A%29%40%28%28%3F%3A%5BA-Z0-9%5D%28%3F%3A%5BA-Z0-9-%5D%7B0%2C61%7D%5BA-Z0-9%5D%29%3F%5C.%29%2B%5BA-Z%5D%7B2%2C6%7D%5C.%3F%24%7C%5C%5B%2825%5B0-5%5D%7C2%5B0-4%5D%5Cd%7C%5B0-1%5D%3F%5Cd%3F%5Cd%29%28%5C.%2825%5B0-5%5D%7C2%5B0-4%5D%5Cd%7C%5B0-1%5D%3F%5Cd%3F%5Cd%29%29%7B3%7D%5C%5D%24%29%0A%0A&str= http://www.debuggex.com/?re=%28%5E%5B-%21%23%24%25%26%27%2A%...
- tsergiu 14y agoI think you are missing lower case letters in your character sets. Besides that, apologies for it stretching sideways and making you scroll. Will be fixed in a future release!
- northisup 14y agoIn python you can add flags like 'case insensitive' when you compile the regex.
- tsergiu 14y agoKeep in mind that it doesn't support flags yet, which is why it wouldn't work out-of-the-box.