![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 88 Pomógł: 0 Dołączył: 12.01.2007 Ostrzeżenie: (0%) ![]() ![]() |
mam stronkę http://tv.o2.pl/program/
chce wyciagnac to co znajduje sie w selectach. oto kod HTML:
oto kod PHP:
i teraz pytanie, dlaczego preg_match nic nie dopasowuje skoro wszystko jest - wg. mnie - dobrze ? Ten post edytował become 6.06.2009, 13:13:06 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Moderatorzy Postów: 15 467 Pomógł: 1451 Dołączył: 25.04.2005 Skąd: Szczebrzeszyn/Rzeszów ![]() |
Cytat s (PCRE_DOTALL) If this modifier is set, a dot metacharacter in the pattern matches all characters, including newlines. Without it, newlines are excluded. This modifier is equivalent to Perl's /s modifier. A negative class such as [^a] always matches a newline character, independent of the setting of this modifier. Cytat hmm, ale nie ma nic tutaj o tym modyfikatorze: Otworzyłem tę stronę, dwa kliknięcia i znalazłem. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 10.10.2025 - 15:32 |