July 10, 2011
9:53 a.m.
On 10 July 2011 11:33, Mykyta Yevstifeyev wrote:
!^ftp://([^@]*)([^:/?#]*).*$!\\2!i
Yes, the regexp apparently could be improved, but I don't understand the syntax details. Or rather, I see that your syntax should be okay if there is a valid "@" in the URI. Why does it also work if there is no "@" at all? BTW, I think the total number of users reading this list is two. -Frank