bugGuile - Bugs: bug #13889, regexp-exec : use of non-greedy...

 
 

bug #13889: regexp-exec : use of non-greedy modifier

Submitter:  None
Submitted:  Fri 22 Jul 2005 09:54:40 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 23 Jul 2005 09:40:39 PM UTC, comment #1: 

There are no non-greedy variants in posix regexps, the matching otherwise looks right.

The posix spec can be found at
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html

Kevin Ryde <kryde>
Group Member
Fri 22 Jul 2005 09:54:40 PM UTC, original submission:  

regexp-exec on the string "aaaaazaaaaaz
".*" and ".*?" give the same results (greedy match)
"a*" and "a*?" give the same match (non greedy match)
".*?" and "a*? dont give the same match


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #3264:  re.scm added by None (875B - text/x-scheme)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-07-23 kryde StatusNone Invalid
    Open/ClosedOpen Closed
2005-07-22 None Attached File- Added re.scm, #2735

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code