in reply to Re^2: calculating lines
in thread calculating lines

Just use another character class than \s. Non-word, \W, might be what you want.

If all else fails you can make a custom character class with square brackets. See perlre, the regex doc.

After Compline,
Zaxo