Skip to main content

Timeline for Cops: Make a regex - Make a snake

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Apr 13, 2017 at 12:39 history edited CommunityBot
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Mar 11, 2017 at 23:12 history edited DLosc CC BY-SA 3.0
Added cracked notice
Mar 11, 2017 at 16:51 comment added kennytm Cracked codegolf.stackexchange.com/a/112653/32353
Mar 11, 2017 at 16:44 comment added CalculatorFeline Okay. Replace \W with .. Therefore, (\w+.)+ is equivalent to (\w*|\w.)+ is (\w+||\w.)+ is (\w+|\w.)+ is (\w|\w.)+ is (\w.?)+ and it's the same length but more efficient (one + vs two)
Mar 10, 2017 at 22:36 history edited DLosc CC BY-SA 3.0
Removed ^$ from regex because OP specified full match in question
Mar 10, 2017 at 21:25 comment added mbomb007 @CalculatorFeline There is nothing saying that the . can't be a word character. It could be a lowercase letter, or a digit. In fact, it could even be a capital letter, in the event that the last character of the program is one.
Mar 10, 2017 at 19:27 comment added CalculatorFeline Well, my requirement is equivalent because \w+\W can be split into \w* and \w\W. (\w* is either null (trivial) or \w+ (easily snuck in with a symbol))
Mar 10, 2017 at 19:21 comment added mbomb007 @CalculatorFeline One or more letters.
Mar 9, 2017 at 15:31 comment added CalculatorFeline So all symbols in the source must be preceded by a letter.
Mar 9, 2017 at 3:38 history answered DLosc CC BY-SA 3.0