| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> hello <1> <SpComb> !php echo base_convert (1337,10,1337); <1> <+cT-PHP> SpComb: Warning: base_convert(): Invalid `to base' (1337) <1> <SpComb> hmm <1> <SpComb> what a stupid function <2> ;p <0> heh <1> now he's bitching about not being able to convert to half bases <1> gee.. i'm sure the demand for THAT feature is astronomical <0> what a stupid user <SpComb> <2> tell him to write his own functions <1> i left my 10 ft pole in my other pair of pants. i think i'll let this one slide <2> haha <2> your a funny man <3> hrm <3> what should i do with my tax refund
<3> a) lcd tv <0> give it to me <3> b) htpc <2> what size is a? <3> c) invest <3> 37" <1> c) hookers <1> d) booze <1> e) drugs <1> f) c, d, and e <1> F! <0> how much is it :D <3> like $900 i think <2> g) #php donation <3> it won't pay for the entire tv.. but i have cash elsewhere <2> yeah you have to spend atleast $1300 to get a good lcd tv <2> unless you find an open box one, etc <3> i want an aquous <3> which aren't cheap <2> i like name brand stuff <0> or you find a stupid sales rep who confuses your model w/ a better one :D <3> aquous = sharp <2> they have those at circuit city <0> that's how I got my 60" <2> ;] <0> hd <2> what does + signify in regex? <0> i dunno... but i gotta get ready to go... <1> 1 or more <1> it's a quantifier <2> "/^[a-zA-Z0-9]+[a-zA-Z0-9]$/" <2> so that would match word + word? <1> no <2> hm <2> ah ok <1> actually, that's a silly regex <2> lol <4> connect msa-mx10.hinet.net <1> you're matching 1 or more characters in the set of lower case letters, upper case letters, and numbers, followed by 1 character of an identical set <4> whoops <2> i just added the + <1> what you have is literally equivalent to: "/^[a-z0-9]{2,}$/i" <2> doesn't work appearantly <2> ah <2> well how would i match word + space + word? <1> what are you trying to match? <1> \w+ \w+ <2> really? <2> hm <1> sure <2> w signifies word? leet. <1> \w is [a-zA-Z0-9_-] i think <2> ah <2> so + should be there? <2> wtf <1> + means (match 1 or MORE of the previous pattern) <1> in this case, it matches 1 or more "word characters" <2> ah <1> you've no doubt seen * used.. which means 0 or more <2> yeah
<1> and . which matches any character (except newline, unless /s is used) <1> so .* often means match anything <2> ? would work for characters too <2> right? <1> ? is the 0 or 1 quantifier <1> ? + and * are the three quantifiers <2> alright <1> ? can also modify another quantifier to make it non-greedy <2> what does $ do? <1> matches at end of input <1> opposite of ^ <2> is that required for the regex you showed me? <2> ah <1> depends on your needs <1> http://www.php.net/manual/en/reference.pcre.pattern.syntax.php <2> kk <5> hah, weren't expecting that were you <1> i want a ballgag for my birthday <1> so i can put it on when people come to the door <2> ha <1> then i'll just sit and wait for a jehovahs witness to wander by <1> i need to poop <2> should that escape character be there before the second w+? <6> i just answer the door naked <6> that usually sends them running <1> it's not being used as an escape character <1> it signifies a metacharacter <2> ah <1> much like \n doesn't escape the n, it gives it a special meaning. in regex, \w is, as i said, a meta character cl*** that's equivalent to [a-zA-Z0-9_-] <1> er.. minus the hypen it seems <2> ah <2> so its not w+ its \w+? <1> correct <2> in all cases <2> ok <1> if you just said w+ it would match 1 or more double-yoos <2> and it interprets that space as literal <1> yes, most data is literal unless it has a special meaning <2> alright <2> thanks for all the help <7> http://mollysavestheday.blogspot.com/2006/02/for-women-of-south-dakota-abortion.html <2> hey Two-Bits <1> woah! don't sneak up on me like that! <2> haha <2> if (!(preg_match("/\w+ \w+/",$name)) || (!(preg_match("/\w+ \w+ \w+/",$name)))) { <1> you scared the rabbit turds outta me! <3> bwahahaha <3> [17:49]<cizzi>is the food good there? <3> [17:49]<cizzi>usually we dont like american food too much <3> [17:49]<cizzi>we prefer montreal <2> that is screwed, how would i go about doing that? <1> rmpants: describe what you are trying to do <2> check if it has either two words or three words <2> if not then die <1> there are several ways we could do this <2> i would think regex would have like an optional thing? <2> hm <1> lets try this: /\w+( \w+){1,2}/ <1> well, ? IS for optional (1 or 0) <1> so yes, another way would be /\w+ \w+( \w+)?/ <2> hm <2> ill give that a shot <2> thanks :} <1> spox: "Sterile bags for medical instruments and medical waste" <1> s/medical waste/unborn corpse/ <1> it has a nicer ring to it, dont ya think? <2> hey two bits <2> again
Return to
#php or Go to some related
logs:
#php bmw ler
#kl #photoshop brokeback means #india guiness recordsbook
#kl irc.hackcrew.cc
#allnitecafe
|
|