Re: cvs: livedocs / livedoc.php
| From: | Derick Rethans | Date: | Sun, 18 Apr 2004 16:19:34 +0000 |
| Subject: | Re: cvs: livedocs / livedoc.php | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969360169@lists.php.net to get a copy of this message | ||
On Sun, 18 Apr 2004, Nuno Lopes wrote:
> > +/* Checks if translated file is updated */
> > +if ($lang != 'en' && !isset($using_fallback)) {
> > +
> > + if (preg_match('$Revision: 1.88 $', $file_revision, $matches)) {
> > + $lang_rev = $matches[1];
> > + } else {
> > + $lang_rev = 0;
> > + }
>
>
> Problems here! Any idea about how to escape the preg_match so that CVS won't
> touch it?
'$'. 'Revision....
Derick