Does it work? If no, that's your answer. . catches only one character. And what's the content of $1? Nothing? Then that's the problem.
Does it work? If no, that's your answer. . catches only one character. And what's the content of $1? Nothing? Then that's the problem.