In verbose mode each instance of a questionable word is queried so don't give a count
1 **************** INPUT ****************
2 This (excellent paragraph has one more {opening} paranthesis than closing.
4 On the other hand, this poor) paragraph does it backwards.
6 This {slightly odd paragraph has one more [opening] brace than closing.
8 And again, this balmy} paragraph does it backwards.
10 This paragraph[11 has one more (opening) bracket than closing.
12 Whereas this one is 12]tupsy turvey.
14 This _very_ important_ paragraph has an odd number of underscores.
16 Unspaced brackets are a[most a]ways _wrong_.
17 **************** EXPECTED ****************
19 This (excellent paragraph has one more {opening} paranthesis than closing.
20 Line 2 - Mismatched round brackets?
22 On the other hand, this poor) paragraph does it backwards.
23 Line 4 - Mismatched round brackets?
25 This {slightly odd paragraph has one more [opening] brace than closing.
26 Line 6 - Mismatched curly brackets?
28 And again, this balmy} paragraph does it backwards.
29 Line 8 - Mismatched curly brackets?
31 This paragraph[11 has one more (opening) bracket than closing.
32 Line 10 - Mismatched square brackets?
34 Whereas this one is 12]tupsy turvey.
35 Line 12 - Mismatched square brackets?
37 This _very_ important_ paragraph has an odd number of underscores.
38 Line 14 - Mismatched underscores?
40 Unspaced brackets are a[most a]ways _wrong_.
41 Line 15 column 23 - Unspaced bracket?
43 Unspaced brackets are a[most a]ways _wrong_.
44 Line 15 column 30 - Unspaced bracket?