Skip to content

Commit

Permalink
Remove underscores too
Browse files Browse the repository at this point in the history
Judging by the list of seen nicknames, this seems to be important.
  • Loading branch information
AlexDaniel committed Aug 16, 2019
1 parent ed910fa commit eda26f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbin/Tellable.p6
Expand Up @@ -44,6 +44,7 @@ sub normalize-weirdly($_ is copy) {
s:!g/\W+$//; # garbage at the end
s:!g/^\W+//; # garbage at the beginning
s:g/-//; # hyphens
s:g/‘_’//; # underscores
s:g/(.)$0+/$0/; # accidentally doubled characters
s:g/\d// if S:g/\d//.chars > 4; # remove numbers if we still have letters
$_;
Expand Down

0 comments on commit eda26f4

Please sign in to comment.