[nem-bug] [Nemerle 0000617]: optional regexp match

feedback at nemerle.org feedback at nemerle.org
Sun Feb 12 15:30:44 CET 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=617> 
======================================================================
Reported By:                Tobias
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   617
Category:                   The Macro Library
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             02-12-2006 15:30 CET
Last Modified:              02-12-2006 15:30 CET
======================================================================
Summary:                    optional regexp match
Description: 
private Test(text : string) : int {
  regexp match(text) {
    | @"(?<a : int>\d+)(va)?" => a : int
    | _ => -1
  }
}

a in incorectly typed as option[int]
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
02-12-06 15:30 Tobias         New Issue                                    
02-12-06 15:30 Tobias         File Added: regexp.patch                     
======================================================================




More information about the bugs mailing list