Skip to main content
3 of 4
added 61 characters in body
Nick Clifford
  • 1.2k
  • 1
  • 9
  • 14

Ohm, cracked

Also my first Cops and Robbers challenge, so tell me if there are issues with this pattern (especially since this is a fairly unknown language).

Regex (PCRE)

^\S{6}\W{0,3}\w$ 

Output (n = 4)

[[1, 2, 3, 4], [8, 7, 6, 5], [9, 10, 11, 12], [16, 15, 14, 13]] 
Nick Clifford
  • 1.2k
  • 1
  • 9
  • 14