!\s*[\'"]) \s* (?[^\s>]*) (?=\s|>) )
)
)
(?= (?:[^>"\']|"[^"]*"|\'[^\']*\')*? (?<=\s) alt \s*=
(?: (?> \s* ([\'"]) \s* (?.*?) \s* \g{-2} )
| (?> (?!\s*[\'"]) \s* (?[^\s>]*) (?=\s|>) )
)
)
(?> \s+ (?:".*?"|\'.*?\'|[^>]*?)+ > ) (?)
'
-sln
--
http://mail.python.org/mailman/listinfo/python-list
t;
[snip]
>i hope you'll participate. Just post solution here. Thanks.
>
I have to hunt for a job so I'm not writing a solution for you.
Here is a thin regex framework that may get you started.
-sln
-
use strict;
use warnings;
my @samples = qw(
A98(y[(np)r]x)tp
joining like labeled sublists,
>without going into
>the runtime guts of internalizing the data itself. Internally, this is too
>simple.
>
If not preprocessor, then ...
The too simple, order independent, id independent, Perl approach.
-sln
-
use strict;
use warnings
) is not ok.
the below does simple text manipulation, joining like labeled sublists, without
going into
the runtime guts of internalizing the data itself. Internally, this is too
simple.
-sln
-
Alternate input:
(
(
(0 a b) (1 c d) (2 e f )
)
(3 g h) (1 i j) (2
t;group match for each occurrence of "-c"?
Is this a ludicrous question, or is it meant for the python group?
use strict;
use warnings;
my @matches = "-c-c-c-c-c" =~ /(-c)/g;
print "\...@matches\n";
@matches = ();
"-c-a-c-c-c" =~ /(?:(-c)(?{
you we must be telemarketers, does my body odor
bother you?"
-sln
--
http://mail.python.org/mailman/listinfo/python-list
rrying
>
>A curried function is a function which returns a function as its
>result.
>
Curry, is that like chicken soup or some Indian mash?
Why ? How about returning an index number into an array of function pointers
as handlers from packet data?
Oh, thats network communications.
u a whole lot
>> more about computer science, features of language semantics, etc.
>>
>> Q: Do you condemn Ruby?
>>
>> No. I think it's reasonably elegant, but today there are too many
>> languages, so Ruby don't particularly standout for me. Many of th
< dim; ++i) a[i] = x[i]/divisor;
>>>
>>> >> }
>>
>> Due to the low level of C, this C example should perhaps then accept a
>> sequence of numbers separated by space...
>
>In other words, you want a REPL.
>
>Why don't we have anoth
On Tue, 9 Dec 2008 15:01:11 -0800 (PST), Xah Lee <[EMAIL PROTECTED]> wrote:
>
>On Dec 8, 4:56 pm, Jon Harrop <[EMAIL PROTECTED]> wrote:
>> Xah Lee wrote:
>> > A moron, wrote:
>> > > You failed the challenge that you were given.
>>
>> > you didn't give me a challenge.
>>
>> Thomas gave you the chal
On Tue, 9 Dec 2008 15:19:47 -0800 (PST), Xah Lee <[EMAIL PROTECTED]> wrote:
>On Dec 8, 4:07 am, Jon Harrop <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] wrote:
>> > Well, its past 'tonight' and 6 hours to go till past 'tomorrow'.
>> > Where the hell is it Zah Zah?
>>
>> Note that this program ta
On Wed, 3 Dec 2008 16:32:57 -0800 (PST), Xah Lee <[EMAIL PROTECTED]> wrote:
>On Dec 3, 4:22 pm, "Thomas M. Hermann" <[EMAIL PROTECTED]> wrote:
>> On Dec 3, 5:26 pm, Xah Lee <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> > Agreed. My paypal address is xah @@@ xahlee.org. (replace the triple
>> > @ to sin
On Fri, 22 Aug 2008 23:23:57 + (UTC), Martin Gregorie <[EMAIL PROTECTED]>
wrote:
>On Fri, 22 Aug 2008 22:56:09 +, sln wrote:
>
>> On Thu, 21 Aug 2008 09:11:48 -0500, [EMAIL PROTECTED] (Rob Warnock) wrote:
>>
>>>[EMAIL PROTECTED]> wrote:
>&
;switch panel again. Then came CP/M and all the initial pain was
>forgotten (replaced by CP/M pain 8-).
>
>
>>I'm not talking assembly language. Don't you know that there are routines
>>that program machine code? Yes, burned in, bitwise encodings that enable
>>ma
(for the convenience of the user).
>
>+---
>| Don't you know that there are routines that program machine code?
>+---
>
>What do you mean "routines"?!? For the above two machines, you can
>enter machine code with *no* programs ("routines?") running; that is,
>no boot ROM is required (or even available, as it happened).
>
[snip all the bullshit]
Each op is a routine in microcode.
That is machine code. Those op routines use machine cycles.
You hit the wall of understanding along time ago, a wall you
never looked past.
sln
--
http://mail.python.org/mailman/listinfo/python-list
tc.
>>
>>-
>>Rob Warnock <[EMAIL PROTECTED]>
>>627 26th Avenue http://rpw3.org/>
>>San Mateo, CA 94403 (650)572-2607
>
>
>Whats os interresting about all this hullabaloo is that nobody has
>coded
g about all this hullabaloo is that nobody has
coded machine code here, and know's squat about it.
I'm not talking assembly language. Don't you know that there are routines
that program machine code? Yes, burned in, bitwise encodings that enable
machine instructions? Nothing below that.
There is nobody here, who ever visited/replied with any thought relavence that
can
be brought foward to any degree, meaning anything, nobody
sln
--
http://mail.python.org/mailman/listinfo/python-list
Your opinion of yourself is only surpased by your monumental display
of mastery of the English language.
sln
On Sun, 25 May 2008 16:25:33 -0700 (PDT), "[EMAIL PROTECTED]" <[EMAIL
PROTECTED]> wrote:
>For about the past 10 years, i have been concerned in the programing
&g
here you go again, always twisting things around.
A little hatred is good for the world, grow some balls, if it hurts
that much, cut your throat, not somebody elses.
Sln
--
http://mail.python.org/mailman/listinfo/python-list
19 matches
Mail list logo