Tauren

Portland, Oregon

Age: 46

Software engineer

Jan
10
awarded Good Question
Jan
2
awarded Famous Question
Dec
14
awarded Notable Question
Nov
28
awarded Yearling
Sep
23
awarded Popular Question
Aug
24
comment Optimize lookahead in username validation regex
@nhahtdh Thanks for checking it out for me. I'll use it and not worry about further optimization or making it more compact.
Aug
24
comment Optimize lookahead in username validation regex
Thanks, I appreciate your suggestion. However, your regex seems more complex than the one I have already provided. Is there an advantage to it that I'm not seeing?
Aug
24
comment Optimize lookahead in username validation regex
@terces907 Thank you for your thoughts. The regex I provided does meet my requirements, including the 3-15 alphanum characters. I am wondering if someone had any ideas on making it better.
Aug
24
comment Optimize lookahead in username validation regex
I understand your perspective, but that is exactly what I'd prefer to avoid until I absolutely have too. I'm using jsonschema for validation and it is much cleaner if I can use regex. Of course, regex can't solve every problem, but for this application, I haven't run into it yet.
Aug
24
comment Optimize lookahead in username validation regex
@AlanMoore Thanks. It seems like the lookahead could be simpler. Something more like (?=[^-._]{3,15}), but unfortunately that doesn't work.
Aug
23
asked Optimize lookahead in username validation regex
Jul
28
awarded Favorite Question
Jun
26
awarded Notable Question
Jun
18
awarded Nice Question
May
21
awarded Good Answer
Mar
10
awarded Nice Answer
Mar
9
awarded Nice Answer
Feb
19
comment Using Docker for a mail server
@Moshe agree with you, and thanks for your opinion
Feb
19
accepted Using Docker for a mail server
Feb
9
awarded Autobiographer
1 2 3 4 5