Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Wyrażenie regularne problem
stefan33
post
Post #1





Grupa: Zarejestrowani
Postów: 49
Pomógł: 4
Dołączył: 22.07.2012

Ostrzeżenie: (0%)
-----


Witam
Od godziny sie z taka glupota mecze i nie moge dociec czemu preg_match daje false. Bardzo prosze o pomoc
Oto wzór:
  1. preg_match("/\[autor='*'\]/","[autor='gostek']") //false (dlaczego?)

dodaje(dla ulatwienia)
  1. preg_match("/\[autor='*'/","[autor='gostek']") //true(po usunięciu \] z wzoru


Ten post edytował stefan33 16.08.2012, 18:41:44
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 3.10.2025 - 17:16