Tauren

Portland, Oregon

blog.tauren.com

Age: 46

Web application developer

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
Jul
23
awarded Notable Question
Jun
26
awarded Notable Question
Jun
18
awarded Nice Question
May
25
awarded Good Question
May
21
awarded Good Answer
Apr
14
awarded Popular Question
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 Famous Question
Feb
9
awarded Autobiographer
Feb
9
awarded Supporter
1 2 3 4 5