On 2/6/2018 12:30 PM, Steven Schveighoffer wrote:
The regex in question I think is to ensure an email address like abc@192.168.0.5
has a valid IP address. The D1 function doesn't support that requirement.
I admit, I've never used it, so I don't know why it needs to be so complex. But
I assume some people depend on that functionality.
Regex is well known to not always be the best solution for string processing
tasks. For example, it does not work well at all where recursion is desired, and
nobody uses regex for lexer in a compiler.