On Tue, Oct 29, 2013 at 3:35 PM, Glenn Fowler wrote:
> thanks for the suggestion, its added to the list of possibilities
>
> today dgk and I may finally be in a place to start building again
> its amazing how systems (in this case gsf&dgk home systems), left to their
> own designs, become harder t
in a private note Dan asked if ksh had ~(...) magic for doing the rightmost
match and I correctly said NO
it turns out ast regex and ksh extended patterns can do rightmost match
with negation rather than magic flags/options
it just took a night's sleep to figure out a neat use for negation
this pa
Glenn,
Thank you very much. Your suggestion that I use ~(-g) did the trick.
Not only is the code is blazing fast, but, since I needed the left-most match,
it (serendipitously) fixed the problem that my previous code was finding the
right-most match. Here are the before and after versions.
x