Currently developing futuristic smart-device, IoT connected, highway construction site safety system in EU.
Used to work on infrastructure, application architecture and cloud engineering.
Enyone who tells me Regular Expressions are easy has probably never done anything serious in it. Like matching e-mail address fully based on it's RFC. An example:
It appears to be missing at least .whitespace(), and the online tool would be much better with auto-complete.
BTW, if anyone struggles to learn common-case RegEx they way I learned RegEx, after thinking I would never be able to learn RegEx, is to use an IDE or Editor that uses RegEx for search and then force yourself to always search by RegEx when applicable.
After doing that I one day realized that I could write working RegEx on the first try, much like how you notice you no longer have a headache.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Enyone who tells me Regular Expressions are easy has probably never done anything serious in it. Like matching e-mail address fully based on it's RFC. An example:
Try to guess what this simple Regex does:
Hint: It matches full div tag content that has no other div inside it.
You can read about it here.
It appears to be missing at least
.whitespace()
, and the online tool would be much better with auto-complete.BTW, if anyone struggles to learn common-case RegEx they way I learned RegEx, after thinking I would never be able to learn RegEx, is to use an IDE or Editor that uses RegEx for search and then force yourself to always search by RegEx when applicable.
After doing that I one day realized that I could write working RegEx on the first try, much like how you notice you no longer have a headache.