| xand | BinGOs wants to be a bot?> |
| action | xand gets the scalpel and soldering iron... |
| xand | gets the scalpel and soldering iron... |
| BinGOs | GumbyBRAIN: running up that hill |
| GumbyBRAIN | That's sarcasm btw - the amount of money up to be parsed to that of the hill don't work. |
| rellik | shouldn't this get all the text after "SPAC Filed" ? /SPAC Filed(.*)/ |
| gnari | rellik: depends on what you mean by 'all the text' |
| rellik | gnari, to the end of the string gnari, incl. newlines |
| gnari | rellik: ah! newlines |
| rellik | gnari, ? |
| gnari | rellik: no, not newlines rellik: read perldoc perlre |
| rellik | I'll check it out |
| l3warrior | hi |
| Aankhen`` | Wow, that's the first time GumbyBRAIN's highlighted me. o_O |
| SubStack | GumbyBRAIN: highlights |
| GumbyBRAIN | My client highlights well. |
| thecoolone19 | why /(^[a-zA-Z0-9]([a-zA-Z0-9_\.]*)@([a-zA-Z0-9_\.]*)([.][a-zA-Z0-9]*)$)/; doesnt work for mtae@club-internet.fr |
| SubStack | the dash |
| thecoolone19 | yeah i tried @([a-zA-Z0-9_\-\.]*)([.][a-zA-Z0-9]*)$)/; but still it doesnt work |
| SubStack | http://search.cpan.org/~cwest/Regexp-Common-Email-Address-1.01/lib/Regexp/Common/Email/Address.pm |
| thecoolone19 | escaping the dash with "\-" is it correct the escaping of the dash ? |
| TipTap | hmm 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 |
| thecoolone19 | SubStack: you there? |
| SubStack | if you're curious, the *correct* way is here: http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html best to just use the module |
| thecoolone19 | SubStack: i need to make it work asap because we need to update our subscriber list. is the correction of "\-" correct ? |
| bpalmer | TipTap: "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 |
| TipTap | hmm, 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? |
| thecoolone19 | i thought so too, but the problem is that it isint working. In ([a-zA-Z0-9_\-\.]*) what is the "_" for ?? |
| rabeldable | i'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/ |
| SubStack | open my $fh, "<", "foo.txt" (lexical filehandles)++ |
| thecoolone19 | hey SubStack thanks for the link dude. it works now. Characters other than . $ ^ { [ ( | ) ] } * + ? \ match themselves. so just doing - instead of \- works |