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
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
Apr 13, 2017 at 12:39 history edited CommunityBot
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Mar 8, 2017 at 22:54 history edited Emigna CC BY-SA 3.0
added 120 characters in body
Mar 8, 2017 at 22:33 comment added mbomb007 Cracked. What was your original/intended solution?
Mar 8, 2017 at 21:25 comment added Emigna @Dada: That does indeed work in PCRE. I'm not terribly concerned with shortening it right now as I'm pretty certain that it will be cracked. If it should hold though, I'll incorporate both yours and Aarons suggestions. Thanks :)
Mar 8, 2017 at 21:19 comment added Dada You can put the - in last position of the bracketed char class ([+*\/%-]) so you don't have to escape it.
Mar 8, 2017 at 17:13 comment added Aaron You could make your regex shorter by changing .{0,2} to .?.?
Mar 8, 2017 at 16:47 comment added Emigna @mbomb007: Letters with accent does not match \w no. You can try yourself at regex101
Mar 8, 2017 at 14:49 comment added Tilak Madichetti oooooomg - dude that's dope (compliment, of course)
Mar 8, 2017 at 14:41 history answered Emigna CC BY-SA 3.0