bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: anonymous
Subject: [bug #13889] regexp-exec : use of non-greedy modifier
Date: Fri, 22 Jul 2005 21:54:40 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]