Re: Handling availid regex matching

2016-03-24 Thread sebb
On 23 March 2016 at 22:25, sebb wrote: > I've been finding various different regexes being used for > extracting/matching ASF availids. > > So it struck me it might be useful to define the RE string once in the > asf/whimsy library. > > e.g. assuming the most restrictive useradd [1] rule: > > AVAI

Handling availid regex matching

2016-03-23 Thread sebb
I've been finding various different regexes being used for extracting/matching ASF availids. So it struck me it might be useful to define the RE string once in the asf/whimsy library. e.g. assuming the most restrictive useradd [1] rule: AVAILID_RE = '[a-z_][a-z0-9_-]*[$]?' However this is too g