RESOLVED FIXED 55572
Check for spaces in names doesn't take into account non-alphanumeric characters
https://bugs.webkit.org/show_bug.cgi?id=55572
Summary Check for spaces in names doesn't take into account non-alphanumeric characters
Berend-Jan Wever
Reported 2011-03-02 05:16:34 PST
/WebKit/Tools/Scripts/VCSUtils.pm@1671: changeLogNameError("'$name' does not contain a space! ChangeLogs should contain your full name.") unless ($name =~ /\w \w/); I had set my name to "B.J. Wever", and wasn't allowed to create a changelog because it "does not contain a space", which is incorrect. Since my full-full name is "Berend-Jan Wever", which also has non-alphameric characters, I'm fixing the check, rather than the message.
Attachments
Patch (1.38 KB, application/octet-stream)
2011-03-02 05:19 PST, Berend-Jan Wever
no flags
Better patch (1.38 KB, patch)
2011-03-02 06:19 PST, Berend-Jan Wever
no flags
Berend-Jan Wever
Comment 1 2011-03-02 05:19:26 PST
Berend-Jan Wever
Comment 2 2011-03-02 06:19:46 PST
Created attachment 84411 [details] Better patch
Eric Seidel (no email)
Comment 3 2011-03-02 10:25:59 PST
Comment on attachment 84411 [details] Better patch I'm confued. "B.J. Wever" has a space in it, doesn't it? What's it matching? Is it incorrectly picking up on ly part of your name? This change looks fine though, but I don't really understand how the old code failed for you.
Alexey Proskuryakov
Comment 4 2011-03-02 12:17:59 PST
"B.J. Wever" obviously doesn't match /\w \w/ indeed - \w is letters, digits, and underscores.
Eric Seidel (no email)
Comment 5 2011-03-02 12:23:13 PST
I see. the "." doesn't match the \w. Thank you ap.
WebKit Review Bot
Comment 6 2011-06-18 12:33:40 PDT
Comment on attachment 84411 [details] Better patch Clearing flags on attachment: 84411 Committed r89196: <http://trac.webkit.org/changeset/89196>
WebKit Review Bot
Comment 7 2011-06-18 12:33:44 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.