Euphoria Ticket #161: type_check failure, options is {2,4194304,4}

\include\std\regex.e:619 in function new()  
type_check failure, options is {2,4194304,4}  
    pattern = "\\<\\?xml(.*)\\?\\>" 
    options = {2,4194304,4} 
... called from ciavc_.ex:130  

 --fails 
 ,q_xml = re:new(`\<\?xml(.*)\?\>` 
              , {re:MULTILINE, NEWLINE_ANY,DOTALL} ) 
 --works 
 ,q_xml = re:new(`\<\?xml(.*)\?\>` 
              , or_all({re:MULTILINE, NEWLINE_ANY,DOTALL}) ) 
<eucode> 
 
seems like the type check type option_spec(object o) 
should be using {{{if sequence(o) then or_all(o)}}} just 
like all the regex routines 
 
 

Details

Type: Bug Report Severity: Major Category: Library Routine
Assigned To: SPringle Status: Fixed Reported Release: 3199
Fixed in SVN #: 3208 View VCS: 3208 Milestone:

1. Comment by SPringle May 13, 2010

I got this. It's fixed now.

Search



Quick Links

User menu

Not signed in.

Misc Menu