Editing Talk:1313: Regex Golf
Please sign your posts with ~~~~ |
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 20: | Line 20: | ||
:This is the case for all Star Trek Subtitles. Wikipedia's list of movies had no b. It'll match anything containing a word ending in ''m'', any word beginning with ''n'' or ''t'' that is not the first word, or any word with a ''b''. No Trek movies match. Oddly, so far as I can figure out, the regex in the first panel is wrong, in that it doesn't match the second Star Wars movie at all. And before you tell me prequels don't count, the sole purpose of "m " is to match The Phanto''m ''Menace.[[Special:Contributions/199.27.128.138|199.27.128.138]] 07:10, 6 January 2014 (UTC) | :This is the case for all Star Trek Subtitles. Wikipedia's list of movies had no b. It'll match anything containing a word ending in ''m'', any word beginning with ''n'' or ''t'' that is not the first word, or any word with a ''b''. No Trek movies match. Oddly, so far as I can figure out, the regex in the first panel is wrong, in that it doesn't match the second Star Wars movie at all. And before you tell me prequels don't count, the sole purpose of "m " is to match The Phanto''m ''Menace.[[Special:Contributions/199.27.128.138|199.27.128.138]] 07:10, 6 January 2014 (UTC) | ||
Attack of[ t]he Clones (to be read plainly, not as a regular expression). [[Special:Contributions/173.245.53.107|173.245.53.107]] 07:29, 6 January 2014 (UTC) | Attack of[ t]he Clones (to be read plainly, not as a regular expression). [[Special:Contributions/173.245.53.107|173.245.53.107]] 07:29, 6 January 2014 (UTC) | ||
− | + | ||
So, if I add an "e" to the "tn" and delete the "|b" I'm a better golf player than her? [[Special:Contributions/108.162.212.194|108.162.212.194]] 08:23, 6 January 2014 (UTC) | So, if I add an "e" to the "tn" and delete the "|b" I'm a better golf player than her? [[Special:Contributions/108.162.212.194|108.162.212.194]] 08:23, 6 January 2014 (UTC) | ||
:Or you could just move the "b" into the "tn" group. --11:08, 6 January 2014 (UTC) | :Or you could just move the "b" into the "tn" group. --11:08, 6 January 2014 (UTC) |