hi,
meine Frage ist wie kann ich machen, dass die Regex beim ersten Macth aufhört:
www.foo.bar -> match
www.foo.barwww.foo.bar -> kein match
wieso, du willst doch laut eigener aussage URLs checken.
und unter der annahme, dass www.foo.bar ein gültiger hostname sei, .bar also eine gültige TLD - wieso sollte da www.foo.barwww.foo.bar kein gültiger hostname sein ...?
gruß,
wahsaga
--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."