-2
Exercise 6: Matching Repeated Characters
Task    Text     
Match   wazzzzup    Success
Match   wazzzup Success
Skip    wazup

I came up with [waz{2,3}up].

What I meant was matching character w, a and z, with z in repetition 2-3 times, followed by u and p. But without [] was the answer

Kaspar Lee
  • 5,266
  • 4
  • 30
  • 54
codefreaK
  • 3,472
  • 4
  • 32
  • 63

1 Answers1

-1

I realised the answer after a while .[] made it pass a string with w or a z and { or } 2,3 or u and p.

codefreaK
  • 3,472
  • 4
  • 32
  • 63