Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8b805546c866da0c0addc075f6a4211aa180593f
Ticket: 1901640fffffffffffffffffffffffffffffffff
Regexp error
User & Date: bdp67fr on 2008-02-27 20:47:01
Changes

  1. icomment:
    Logged In: YES 
    user_id=2019382
    Originator: YES
    
    >dkf: in fact this is a real example (sorry but biological file formats can be a nightmare...). The specification of OBO format v1.2 (http://www.geneontology.org/GO.format.obo-1_2.shtml#S.1.3) says that 'tag' can contain backslashed colon so the first branch is for backslashed colons and the other for all but colon characters. Then, I bound the non greedy expression with ': ' because the 'tag value' can contain colons too... The second part of my expression matches the tag value and trim a possible comment after a possible exclamation mark (and for fun, tag value can contains backslashed '!'). I hope my explanations are clear enough.
    
    But it's ok. I resolved my problem in a different way. From here, I don't mix greedy and non-greedy expressions to avoid being confused :-D
    
    
    
  2. login: "bdp67fr"
  3. mimetype: "text/plain"
  4. username: "bdp67fr"