Ignore:
Timestamp:
05/12/08 15:31:56 (11 years ago)
Author:
ray
Message:

fixed RegExp? that extracts revision number, etc. from svn keywords

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/InsertImage/insert_image.js

    r999 r1001  
    2222  name          : "InsertImage", 
    2323  origin        : "Xinha Core", 
    24   version       : "$LastChangedRevision:992 $".replace(/^[^:]*: (.*) \$$/, '$1'), 
     24  version       : "$LastChangedRevision:992 $".replace(/^[^:]*:\s*(.*)\s*\$$/, '$1'), 
    2525  developer     : "The Xinha Core Developer Team", 
    26   developer_url : "$HeadURL:http://svn.xinha.webfactional.com/trunk/modules/InsertImage/insert_image.js $".replace(/^[^:]*: (.*) \$$/, '$1'), 
     26  developer_url : "$HeadURL:http://svn.xinha.webfactional.com/trunk/modules/InsertImage/insert_image.js $".replace(/^[^:]*:\s*(.*)\s*\$$/, '$1'), 
    2727  sponsor       : "", 
    2828  sponsor_url   : "", 
Note: See TracChangeset for help on using the changeset viewer.