[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - [WMP-TOOL] regex tester
Pagina 1 van 3

[WMP-TOOL] regex tester

BerichtGeplaatst: 23 feb 2008 18:36
door libia

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 23 feb 2008 20:03
door Johan
Wat is regex? :?

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 23 feb 2008 20:05
door libia

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 23 feb 2008 20:13
door ElbertF
Allicht handig om de ingevulde velden te laten staan na het submitten, zodat je je regex nog even kan tweaken en niet steeds opnieuw erin hoeft te zetten.

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 23 feb 2008 20:39
door libia

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 12:21
door Stef

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 12:37
door ElbertF
Mooi, werkt prima. Hoewel de invoerveldjes wel een stuk groter mogen, en miss. een textarea van de onderste om newlines te kunnen testen?

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 12:49
door Stef
Zoiets? tools/regex

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 12:58
door frizzy
Mischien wel leuk om de laatste paar geteste regex-en te laten zien

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 14:03
door ElbertF
Zo issie mooi ja. :D

Ik dacht eerder aan wat veelgebruikte regex-en zoals die voor website URL's en e-mailadressen dan de laatst gebruikte.

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 14:18
door Stef

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 14:41
door ElbertF
Ik heb wel wat regexjes, maar ik zoek eigenlijk naar de officiele specs van o.a. domeinnamen (bijv, dat deze max 64 tekens bevat, en TDL altijd tussen de 2 en 5 tekens etc), weet iemand die te vinden (ik niet namelijk)? Dan kan ik er een perfecte regex voor maken..

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 18:25
door libia
hoe bedoel je elbert?

@stef, als je een typefout in de regex maakt (bijv. een haakje vergeten) dan geeft hij een error boven aan de pagina..

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 18:40
door ElbertF
Er zijn bepaalde regels voor URL's, bijv. de tekens die je mag gebruiken en hoelang deze mag zijn etc. Ik neem aan dat het ICANN daar wel ergens een specificatie van heeft ofzo..

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 18:48
door libia
(http:\/\/)((www|[a-zA-Z][a-zA-Z0-9\.\-\_]*[a-zA-Z0-9])\.)?([a-zA-Z][a-zA-Z0-9\.\-\_]+[a-zA-Z0-9])\.([a-z]{2,4})

aantallen weet ik alleen niet precies (http:// gevolgt door www. / een letter,een letter/cijfer/. / - / _ (0 of meer keer),een letter of een cijfer, . / niets gevolgt door een letter, een letter / een cijfer / . / - / _ (1 of meer keer) gevolgt door een . gevolgt door een kleine letter (2 3 of 4 keer))

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 19:09
door ElbertF
Maar de geldige URL "https://x.domain.hotel/" komt daar om een stuk of 5 redenen niet doorheen.

Edit: gevonden. :}

http://en.wikipedia.org/wiki/URI_scheme#Generic_syntax

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 19:51
door ElbertF

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 24 feb 2008 20:23
door libia
aja.. daar had ik niet aan gedacht :)

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 25 feb 2008 11:20
door frizzy
Hé, die regex had ik net nodig :D tnx mensen ;)

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 25 feb 2008 11:36
door ElbertF
Hé hé rustig aan, er rust auteursrecht en een duurbetaalde licentie op. -_-

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 25 feb 2008 11:37
door frizzy

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 25 feb 2008 11:39
door ElbertF
Wat doet ie niet? :(

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 25 feb 2008 11:39
door frizzy
Ik krijg vage error

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 25 feb 2008 11:43
door ElbertF
Geef de error en de URL dan even, dan kan ik het fixen.. Ik had achteraf nog wat tweaks toegevoegd maar niet gechecked.

Edit: heb je de tool hier gebruikt? Die geeft blijkbaar een error terwijl de regex bij mij wel klopt.. Foutje in de tool?

Re: [WMP-TOOL] regex tester

BerichtGeplaatst: 25 feb 2008 12:01
door libia
nee, geen fout in de tool.. het wordt namelijk gewoon in de preg_match functie gestopt.. waarschijnlijk heb je een fout gemaakt, waardoor gewone url's het niet doen..