Skip to main content
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

Ohm, crackedcracked

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]] 

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]] 

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]] 
added 61 characters in body
Source Link
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]] 

Ohm

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]] 

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]] 
added 14 characters in body
Source Link
Nick Clifford
  • 1.2k
  • 1
  • 9
  • 14

Ohm

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

Regex (PCRE)

^.*\D+\W+.$^\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]] 

Ohm

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

Regex (PCRE)

^.*\D+\W+.$ 

Output (n = 4)

[[1, 2, 3, 4], [8, 7, 6, 5], [9, 10, 11, 12], [16, 15, 14, 13]] 

Ohm

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]] 
Source Link
Nick Clifford
  • 1.2k
  • 1
  • 9
  • 14
Loading