At the very least you'd want to replace \.? with (?:\.|\z) or the like.
-- Chip Salzenberg, Free-Floating Agent of Chaos
In reply to Re^2: regular expression assistance
by chip
in thread regular expression assistance
by notasaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |