Jumat, 18 Oktober 2013

PHP Indonesia - Facebook:

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Refresh your vocabulary.

Learn a new word everyday by subscribing to Word of the Day. A great tool if you're studying for the GRE, GMAT or LSAT, or simply want to enhance your lexicon.
From our sponsors
Oct 18th 2013, 18:00, by Budi Setiawan

Budi Setiawan 6:00pm Oct 18
<?php
//tanya tentang regex ni
echo preg_match('/[\\\n\/]/','\n');//ga error
echo preg_match('/[\\\/\n]/','\n');//error
/*
ada yg tau n bisa kasih alasan kenapa baris ke-3 ga error sedangkan baris ke-4 error?
*/

Nanang Ramadhani 6:09pm Oct 18
http://php.net/manual/en/function.preg-match.php

Budi Setiawan 6:19pm Oct 18
Warning: preg_match(): Unknown modifier '\' in D:\qrenBoy\qrenServer\qrenExperiment\skripsi2\system\core\qrenSite.php on line 4.

aslinya yg saya tanyakan tentang [\\\n\/] ama [\\\/\n]. kenapa kx bisa muncul warning padahal maksud dari keduanya itu kan sama, cuma beda penempatan \n ama \/

Gembel Berkelas 7:22pm Oct 18
emang bikin puyeng om kalo nyari backslash '\'

Budi Setiawan 7:30pm Oct 18
ha.. ha.. bingung aq. apa kira2 itu bug ya? cz nampaknya kalau \\ dikutin ama \/ selalu ngasih warning.
ini juga kasih warning
preg_match("/\\/","\n")
preg_match("/[\\]/","\n")

Gembel Berkelas 7:46pm Oct 18
ntu tergantung delimiternya juga om,,

Budi Setiawan 7:51pm Oct 18
aq cuma pakai pkai delimeter / aja belum ditest yg lainnya.

Gembel Berkelas 7:59pm Oct 18
#[\\\/\n]# atau /[\\\\\/\n]/

Budi Setiawan 8:06pm Oct 18
untuk yg pertama kalau delimeternya pkai / kasih warning message. sedangkan kalau pakai # ga ada warning message.
untuk yg kedua ternyata g semua \\ yg diikutin \/ akan ngasih warning message.
:D

Gembel Berkelas 8:16pm Oct 18
double backslah, kalo karakter ketiga nya escapeable, terhitung 1 kali escape

Gembel Berkelas 8:16pm Oct 18
tebakan doang, lupain aja :-P

Budi Setiawan 8:18pm Oct 18
:D

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar