Author mrabarnett
Recipients Robert Lujo, ezio.melotti, gdr@garethrees.org, mrabarnett, serhiy.storchaka
Date 2017-04-04.20:49:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491338952.7.0.859538294654.issue29977@psf.upfronthosting.co.za>
In-reply-to
Content
A slightly shorter form:

    /\*(?:(?!\*/).)*\*/

Basically it's:

    match start

    while not match end:
        consume character

    match end

If the "match end" is a single character, you can use a negated character set, for example:

    [^\n]*

otherwise you need a negative lookahead, for example:

    (?:(?!\r\n).)*
History
Date User Action Args
2017-04-04 20:49:12mrabarnettsetrecipients: + mrabarnett, ezio.melotti, gdr@garethrees.org, serhiy.storchaka, Robert Lujo
2017-04-04 20:49:12mrabarnettsetmessageid: <1491338952.7.0.859538294654.issue29977@psf.upfronthosting.co.za>
2017-04-04 20:49:12mrabarnettlinkissue29977 messages
2017-04-04 20:49:12mrabarnettcreate