Re: crediting authors and contributors

From: Date: Sun, 27 Jun 2004 21:33:15 +0000
Subject: Re: crediting authors and contributors
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361548@lists.php.net to get a copy of this message
It shows a modified note so it looks as though they've been around forever (at least since the year 2000).
Aham, okay, so then the question is also up from my side :)
the regex isn't able to handle them $reg = '/^note (\d*) (.*) from ([^ ]*) by ([a-z]*)/'; examples: note 24679 deleted from function.explode by aidan note 24957 modified in function.explode by aidan I'm not an regex expert, it only seems to need an 'from or in' part, it should match both suggestions welcome :)
$reg = '/^note (\d*) (.*) (?:from|in) ([^ ]*) by ([a-z]*)/'; Should be fine without any need to modify other code parts. BTW the 'note is moved from here to there' subject syntax is coming, so the script will need to know it. After you have committed the code into phpdoc CVS, others will be able to look into it. Goba

« previous php.doc (#969361548) next »