unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #13889] regexp-exec :  use of  non-greedy modifier
@ 2005-07-22 21:54 anonymous
  2005-07-23 21:40 ` Kevin Ryde
  0 siblings, 1 reply; 2+ messages in thread
From: anonymous @ 2005-07-22 21:54 UTC (permalink / raw)



URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13889>

                 Summary: regexp-exec :  use of  non-greedy modifier
                 Project: Guile
            Submitted by: None
            Submitted on: Fri 07/22/2005 at 21:54
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

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







    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 07/22/2005 at 21:54  Name: re.scm  Size: 875B   By: None

<http://savannah.gnu.org/bugs/download.php?item_id=13889&item_file_id=2735>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13889>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [bug #13889] regexp-exec :  use of  non-greedy modifier
  2005-07-22 21:54 [bug #13889] regexp-exec : use of non-greedy modifier anonymous
@ 2005-07-23 21:40 ` Kevin Ryde
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Ryde @ 2005-07-23 21:40 UTC (permalink / raw)



Update of bug #13889 (project guile):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up 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


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13889>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-23 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-22 21:54 [bug #13889] regexp-exec : use of non-greedy modifier anonymous
2005-07-23 21:40 ` Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).