Matching Whitespace & Non-Whitespace Character

  • + 1 comment

    when i tried like this "\S{2}\s{1}\S{2}\s{1}\S{2}" it works fine.

    But when i try this "^\S{2}\s{1}\S{2}\s{1}\S{2}$" test case 1 and 2 failed.

    i don't know why!