What you specify as "(?:\s|\n)" is equivalent to a single "\s". "\n" is already included in the set of characters matched by "\s".
Anno
Update: Minor corrections
In reply to Re: Regex question
by Anno
in thread Regex question
by coltman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |