#perl - Thu 1 Mar 2007 between 04:25 and 05:33



xandBinGOs wants to be a bot?>
actionxand gets the scalpel and soldering iron...
xandgets the scalpel and soldering iron...
BinGOsGumbyBRAIN: running up that hill
GumbyBRAINThat's sarcasm btw - the amount of money up to be parsed to that of the hill don't work.
rellikshouldn't this get all the text after "SPAC Filed" ? /SPAC Filed(.*)/
gnarirellik: depends on what you mean by 'all the text'
rellikgnari, to the end of the string
gnari, incl. newlines
gnarirellik: ah! newlines
rellikgnari, ?
gnarirellik: no, not newlines
rellik: read perldoc perlre
rellikI'll check it out
l3warriorhi
Aankhen``Wow, that's the first time GumbyBRAIN's highlighted me. o_O
SubStackGumbyBRAIN: highlights
GumbyBRAINMy client highlights well.
thecoolone19why /(^[a-zA-Z0-9]([a-zA-Z0-9_\.]*)@([a-zA-Z0-9_\.]*)([.][a-zA-Z0-9]*)$)/; doesnt work for mtae@club-internet.fr
SubStackthe dash
thecoolone19yeah i tried @([a-zA-Z0-9_\-\.]*)([.][a-zA-Z0-9]*)$)/; but still it doesnt work
SubStackhttp://search.cpan.org/~cwest/Regexp-Common-Email-Address-1.01/lib/Regexp/Common/Email/Address.pm
thecoolone19escaping the dash with "\-"
is it correct the escaping of the dash ?
TipTaphmm could anyone explain to me what spinlocks are exactly, i've read a bit but i'm not too clear. I Know it's to do with processes access, but it's not really explained exactly how it works and what they are used for
thecoolone19SubStack: you there?
SubStackif you're curious, the *correct* way is here: http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html
best to just use the module
thecoolone19SubStack: i need to make it work asap because we need to update our subscriber list.
is the correction of "\-" correct ?
bpalmerTipTap: "In software engineering, a spinlock is a lock where the thread simply waits in a loop ("spins") repeatedly checking until the lock becomes available"
SubStack\- will work for a literal -, yes
TipTaphmm, so the process thread sits in a loop, so the kernel basically locks the thread then when it is finished unlocks it and the intermediate while it spins is the spinlock?
thecoolone19i thought so too, but the problem is that it isint working.
In ([a-zA-Z0-9_\-\.]*) what is the "_" for ??
rabeldablei'd like to use the same sub routine to open numerous files, which means that I have to figure out a way to use the same filehandle without closing the filehandle if I happen to loop through the same routing, is there a way to assign a synamic filehandle name to an open ?
s/synamic/dynamic/
SubStackopen my $fh, "<", "foo.txt"
(lexical filehandles)++
thecoolone19hey SubStack thanks for the link dude. it works now. Characters other than . $ ^ { [ ( | ) ] } * + ? \ match themselves.
so just doing - instead of \- works

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 

IrcArchive