btw this list uses such a long From: xy VIA X AT Y.
Austin Group Bug Tracker via austin-group-l at The Open Group wrote in <ea7880ce68ba63cac427845dc4029...@austingroupbugs.net>: ... |https://austingroupbugs.net/view.php?id=1857 ... | (0006881) geoffclare (manager) - 2024-09-24 10:46 | https://austingroupbugs.net/view.php?id=1857#c6881 ... I have not yet read this completely, but from a glance i see the ERE "(aaa??)*" matches only the first four characters of the string "aaaaa", not all five, because in order to match all five, "a??" would match with length one instead of zero and that felt not right: echo 'aaaaa' | perl -e '$i=<STDIN>;if($i =~ "(aaa??)*"){print "i<$i>; 1<$1> 2<$2> 3<$3>\n"}else{print "no match\n"}' i<aaaaa >; 1<aa> 2<> 3<> It matches only two. (It seems to me this ?? use case is a bit sick, but it cannot be helped. ... --End of <ea7880ce68ba63cac427845dc4029...@austingroupbugs.net> --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)