Skype's Crazy Regex Easter Egg
21–30 of 52 posts
Re: Skype's Crazy Regex Easter Egg
#22Re: Skype's Crazy Regex Easter Egg
#23Earlier quoted context omitted.
yup, just some toying around by our mac devs :)
As a suggestion, you could search the line for the substring with the least Levenshtein distance from the correction, to use as the text to replace—and thus also support the "*word" correction syntax I see quite more often from non-technical friends. :)
Re: Skype's Crazy Regex Easter Egg
#24Valentines day special guy> I love you darling! girl> GO 2 HELL!! guy> s/love/hate guy> s/darling/bitch
Last time I tried, I could only edit my posts while the other one hadn't answered yet. So: haha, but no.
Re: Skype's Crazy Regex Easter Egg
#25The s/that/this/ syntax is not, of course, a regular expression. The regular expression is the thing that might go into the "that" part, an expression that can match against several different inputs. If all it supports is literals, it's not really worth calling it a regular expression, in my opinion.
The article expresses this like so:
Some experimentation shows that it isn't a full regular expression engine, it will only do straight word substitution.
I think this is stretching it; sure all literal strings are regular expressions, but if that's all there is (i.e. no alteration, repeat etc), then why call it an RE at all?
Am I just being grumpy?
Re: Skype's Crazy Regex Easter Egg
#26Re: Skype's Crazy Regex Easter Egg
#27This doesn't work on windows version of skype.. i guess windows users have to pay for not having regex :P
Re: Skype's Crazy Regex Easter Egg
#28I find it highly annoying that this, as far as I understand, really doesn't use regular expressions. The s/that/this/ syntax is not , of course, a regular expression. The regular expression is the thing that might go into the "that" part, an expression that can match against several different inputs. If all it supports is literals, it's not really worth calling it a regular expression, in my opinion. The article expr…
Re: Skype's Crazy Regex Easter Egg
#29I've always wanted to implement this in my IRC client, but been too lazy, it's nice to see it implemented in some form of chat client, although it's a bit lacking. Is the change visible for all participants?
You can edit sent messages on IRC?
Re: Skype's Crazy Regex Easter Egg
#30s/Bit/But