A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1857 
====================================================================== 
Reported By:                dannyniu
Assigned To:                
====================================================================== 
Project:                    1003.1(2024)/Issue8
Issue ID:                   1857
Category:                   Base Definitions and Headers
Type:                       Error
Severity:                   Objection
Priority:                   normal
Status:                     New
Name:                       DannyNiu/NJF 
Organization:               Individual 
User Reference:              
Section:                    9.1 Regular Expression Definitions # and others. 
Page Number:                179-180 and others 
Line Number:                6366-6368 and others. 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2024-09-14 12:54 UTC
Last Modified:              2024-09-30 09:26 UTC
====================================================================== 
Summary:                    Several problems with the new "lazy" regex
quantifier.
====================================================================== 

---------------------------------------------------------------------- 
 (0006898) geoffclare (manager) - 2024-09-30 09:26
 https://austingroupbugs.net/view.php?id=1857#c6898 
---------------------------------------------------------------------- 
> Geoff, have you considered my torture testing case? How do you see your
wording cover that case?

- regex:
[0-9](((((([0-9][a-z]+[0-9])+?)+)+?)+)+?)+[0-9]

- string to be matched:
12abc34def56ghi78jkl90mnop12qrst34uvw56xyz78

The key part of my suggested wording is "the longest such sequence for
which any minimal repetitions used in the match have the shortest possible
match".

first [0-9] matches the first 1

([0-9][a-z]+[0-9])+? matches 2abc3 with 1 repetition (and 3 of [a-z]
obviously)

(([0-9][a-z]+[0-9])+?)+ matches 2abc3 with 1 repetition as that's the
longest match for which the minimal repetition has the shortest match

((([0-9][a-z]+[0-9])+?)+)+? matches 2abc3 with 1 repetition

(((([0-9][a-z]+[0-9])+?)+)+?)+ matches 2abc3 with 1 repetition as that's
the longest match for which the minimal repetitions have the shortest
match

((((([0-9][a-z]+[0-9])+?)+)+?)+)+? matches 2abc3 with 1 repetition

(((((([0-9][a-z]+[0-9])+?)+)+?)+)+?)+ matches 2abc3 with 1 repetition as
that's the longest match for which the minimal repetitions have the
shortest match

final [0-9] matches the first 4

matched string is 12abc34 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2024-09-14 12:54 dannyniu       New Issue                                    
2024-09-14 12:54 dannyniu       Name                      => DannyNiu/NJF    
2024-09-14 12:54 dannyniu       Organization              => Individual      
2024-09-14 12:54 dannyniu       Section                   => 9.1 Regular
Expression Definitions # and others.
2024-09-14 12:54 dannyniu       Page Number               => 179-180 and others
2024-09-14 12:54 dannyniu       Line Number               => 6366-6368 and
others.
2024-09-20 08:05 dannyniu       Note Added: 0006879                          
2024-09-20 08:07 dannyniu       Note Edited: 0006879                         
2024-09-20 08:13 dannyniu       Note Edited: 0006879                         
2024-09-23 08:56 geoffclare     Note Added: 0006880                          
2024-09-24 10:46 geoffclare     Note Added: 0006881                          
2024-09-24 10:46 geoffclare     Note Edited: 0006881                         
2024-09-24 11:54 dannyniu       Note Added: 0006882                          
2024-09-24 12:08 dannyniu       Note Edited: 0006882                         
2024-09-24 12:09 dannyniu       Note Edited: 0006882                         
2024-09-24 12:11 dannyniu       Note Edited: 0006882                         
2024-09-24 12:12 dannyniu       Note Edited: 0006882                         
2024-09-24 14:04 geoffclare     Note Added: 0006883                          
2024-09-25 08:28 dannyniu       Note Added: 0006884                          
2024-09-25 08:30 dannyniu       Note Edited: 0006884                         
2024-09-25 08:33 dannyniu       Note Edited: 0006884                         
2024-09-25 08:42 dannyniu       Note Edited: 0006884                         
2024-09-25 08:43 dannyniu       Note Edited: 0006884                         
2024-09-25 11:36 dannyniu       Note Edited: 0006884                         
2024-09-25 13:17 geoffclare     Note Added: 0006885                          
2024-09-25 15:08 dannyniu       Note Added: 0006886                          
2024-09-25 15:17 dannyniu       Note Edited: 0006886                         
2024-09-25 15:23 dannyniu       Note Edited: 0006886                         
2024-09-25 15:27 dannyniu       Note Edited: 0006886                         
2024-09-25 22:10 steffen        Note Added: 0006887                          
2024-09-25 22:33 steffen        Note Added: 0006888                          
2024-09-25 22:36 steffen        Note Added: 0006889                          
2024-09-26 04:02 dannyniu       Note Edited: 0006886                         
2024-09-26 06:50 dannyniu       Note Edited: 0006886                         
2024-09-26 08:41 geoffclare     Note Added: 0006890                          
2024-09-26 11:43 dannyniu       Note Added: 0006891                          
2024-09-26 11:50 dannyniu       Note Edited: 0006891                         
2024-09-26 12:16 geoffclare     Note Added: 0006892                          
2024-09-26 12:17 geoffclare     Note Edited: 0006892                         
2024-09-26 13:27 geoffclare     Note Edited: 0006881                         
2024-09-26 13:28 geoffclare     Note Edited: 0006881                         
2024-09-26 13:30 geoffclare     Note Edited: 0006892                         
2024-09-27 07:09 geoffclare     Note Edited: 0006885                         
2024-09-27 11:34 dannyniu       Note Added: 0006896                          
2024-09-27 11:37 dannyniu       Note Edited: 0006896                         
2024-09-27 15:51 steffen        Note Added: 0006897                          
2024-09-30 09:26 geoffclare     Note Added: 0006898                          
======================================================================


  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
    • Re: [10... Hans Ã…berg via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to