Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
v.gr. FirstNonRepeating("s[{\^~|]}treSS")
Very impressive!!!
According to my personal understanding, 'r|32' expression will convert letters with different case to same key value.
But when the param
str
both contains '^' and '~' character, this solution will fail.Because '^|32' expression get int 126, same to '~|32' expression.