Autor Beitrag
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mo 19.02.07 00:21 
Hallo,

ich fände es sinnvoll, wenn Kommas oder Punkte nicht mehr zur URL zählen würde:
www.google.de, oder www.web.de.
Moderiert von user profile iconChristian S.: Tracking-ID: 46

Grüße
GTA-Place


PS: Was ist das o_O?:
---------------------------------------------------------\/
www.delphi-forum.de, www.c-sharp-forum.de, www.delphi-library.de & www.c-sharp-library.de
www.c-sharp-forum.de, www.delphi-library.de & www.c-sharp-library.de
---------------------------------------------------------/\
Da kommt eine unerschiedliche ...-Ersetzung o_O.
Moderiert von user profile iconChristian S.: Tracking-ID: 47

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Mo 19.02.07 00:27 
user profile iconGTA-Place hat folgendes geschrieben:
ich fände es sinnvoll, wenn Kommas oder Punkte nicht mehr zur URL zählen würde:
www.google.de, oder www.web.de.
Kommata und Punkte sind nunmal gültige Teile einer URL. Was sollen wir mit URLs machen, die die enthalten. Schau Dir mal die URLs zu Hilfeseiten im Forum an, die enthalten massig Kommata.

user profile iconGTA-Place hat folgendes geschrieben:
PS: Was ist das o_O?
Ich wart jetzt nicht mehr, bis Du die 100. Editierung fertig hast: Das ist etwas, für dass Du einen neuen Thread aufmachen solltest ;)

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
GTA-Place Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mo 19.02.07 00:29 
user profile iconChristian S. hat folgendes geschrieben:
user profile iconGTA-Place hat folgendes geschrieben:
ich fände es sinnvoll, wenn Kommas oder Punkte nicht mehr zur URL zählen würde:
www.google.de, oder www.web.de.
Kommata und Punkte sind nunmal gültige Teile einer URL. Was sollen wir mit URLs machen, die die enthalten. Schau Dir mal die URLs zu Hilfeseiten im Forum an, die enthalten massig Kommata.

Warum nicht so?: Folgt nach einem Komma kein Text mehr, so zählt dieses nicht mehr zur URL.

user profile iconChristian S. hat folgendes geschrieben:
user profile iconGTA-Place hat folgendes geschrieben:
PS: Was ist das o_O?
Ich wart jetzt nicht mehr, bis Du die 100. Editierung fertig hast: Das ist etwas, für dass Du einen neuen Thread aufmachen solltest ;)

Bin fertig, auch wenn nun ein t fehlt ;-)

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Mo 19.02.07 00:33 
user profile iconGTA-Place hat folgendes geschrieben:
user profile iconChristian S. hat folgendes geschrieben:
user profile iconGTA-Place hat folgendes geschrieben:
ich fände es sinnvoll, wenn Kommas oder Punkte nicht mehr zur URL zählen würde:
www.google.de, oder www.web.de.
Kommata und Punkte sind nunmal gültige Teile einer URL. Was sollen wir mit URLs machen, die die enthalten. Schau Dir mal die URLs zu Hilfeseiten im Forum an, die enthalten massig Kommata.

Warum nicht so?: Folgt nach einem Komma kein Text mehr, so zählt dieses nicht mehr zur URL.
Und wenn jemand eine Seite hat, die z.B. Zeichen in was-weiss-ich-Kodierung umwandelt?

www.wandle-um.de?zeichen=.

Nee, es ist ja nicht so aufwändig, um solche URLs die url-Tags zu machen um sie zu begrenzen.

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
GTA-Place Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mo 19.02.07 00:35 
Dann eben:
Folgt nach einer Domain-Angabe (.de, .com, .ch, ...) ein Komma und dann kein Text mehr, so zählt dieses nicht mehr zur URL.

Der Punkt ist ja nicht schlimm, das Komma schon ^^.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Mo 19.02.07 00:37 
user profile iconGTA-Place hat folgendes geschrieben:
Der Punkt ist ja nicht schlimm, das Komma schon ^^.

Wieso geht das mit Punkt eigentlich? Ist doch ne ganz andere Domain dann? Nämlich die TLD ""....

Trotzdem fände ich das schon sinnvoll, Punkte/Kommas am Ende nicht einzubeziehen, jedenfalls nicht bei der Automatik-Verlinkung. Wenn jemand URL-Tags benutzt, dann ja, aber sonst...

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
GTA-Place Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mo 19.02.07 00:40 
user profile iconChristian S. hat folgendes geschrieben:
Nee, es ist ja nicht so aufwändig, um solche URLs die url-Tags zu machen um sie zu begrenzen.

*pfeif* www.delphi-forum.de/....php?p=422542#422542 *pfeif*

[Warum hast du es nicht gemacht, wenn es nicht so aufwändig ist? :lol:]

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mo 19.02.07 00:48 
Was ist jetzt eigentlich so schlimm am Punkt/Komma? :gruebel:

_________________
Programmers never die, they just GOSUB without RETURN
GTA-Place Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mo 19.02.07 00:50 
Schonmal geklickt?: www.google.com,

www.google.com? wird zu http://www.google.de/? (sonst http://www.google.de,/), d.h. es gibt bereits eine Funktion, die das letzte Zeichen prüft ;-).

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mo 19.02.07 00:54 
Hehe, ja und, wenn du einen Tippfehler machst ist das doch eigentlich dein Problem :wink:

_________________
Programmers never die, they just GOSUB without RETURN
GTA-Place Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mo 19.02.07 00:57 
Was ist daran ein Tippfehler?:
Heute war ich auf www.google.de, www.microsoft.com und www.web.de.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Mo 19.02.07 01:00 
user profile iconGTA-Place hat folgendes geschrieben:
Heute war ich auf www.google.de, www.microsoft.com und www.web.de.

Hehe, alle 3 Bugs auf einmal ;)

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
GTA-Place Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mo 19.02.07 01:01 
Du bist doch schon freigegeben :shock:

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mo 19.02.07 01:04 
Tust du nachtwandeln? Du schläfst auch schon^^

Aber jetzt hab ichs verstanden, ok ;)

_________________
Programmers never die, they just GOSUB without RETURN
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mo 19.02.07 02:55 
@Christian: Füg doch einfach der RegExp für URLs ein Look-Ahead hinzu, was das Matchenen von Punkt, Komma, Semikolon, (, ), [, ] und { \} am Ende einer URL verbietet. So schwer sollte das nicht sein ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.