News for hackers. Stuff that matters.
Re:Java Verbal Expressions by dailygrind___ on Wednesday November 25, 2020 @01:13PM (#25212290)
I think Regex is too low-level and a problem worth abstracting. It works fine with simple patterns but I don't really see how a pattern like this:

/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_])?\??(?:[-\+=&;%@.\w_])#?(?:[\w]*))?)/

(https://stackoverflow.com/questions/161738/what-is-the-best-...)

contributes to readability.

There are no comments on this comment yet.